Searched refs:Input_KeyState (Results 1 – 10 of 10) sorted by relevance
202 typedef struct Input_KeyState Input_KeyState; typedef360 Input_Result OH_Input_GetKeyState(struct Input_KeyState* keyState);370 struct Input_KeyState* OH_Input_CreateKeyState();379 void OH_Input_DestroyKeyState(struct Input_KeyState** keyState);389 void OH_Input_SetKeyCode(struct Input_KeyState* keyState, int32_t keyCode);399 int32_t OH_Input_GetKeyCode(const struct Input_KeyState* keyState);409 void OH_Input_SetKeyPressed(struct Input_KeyState* keyState, int32_t keyAction);419 int32_t OH_Input_GetKeyPressed(const struct Input_KeyState* keyState);429 void OH_Input_SetKeySwitch(struct Input_KeyState* keyState, int32_t keySwitch);439 int32_t OH_Input_GetKeySwitch(const struct Input_KeyState* keyState);
44 | typedef struct [Input_KeyState](#input_keystate) [Input_KeyState](#input_keystate) | 定义按键信息,用于标识按…362 ### Input_KeyState subsection1261 struct Input_KeyState* OH_Input_CreateKeyState ()1272 如果操作成功,返回一个[Input_KeyState](#input_keystate)指针对象, 否则返回空指针。1412 void OH_Input_DestroyKeyState (struct Input_KeyState ** keyState)1957 int32_t OH_Input_GetKeyCode (const struct Input_KeyState * keyState)2049 int32_t OH_Input_GetKeyPressed (const struct Input_KeyState * keyState)2072 Input_Result OH_Input_GetKeyState (struct Input_KeyState * keyState)2097 int32_t OH_Input_GetKeySwitch (const struct Input_KeyState * keyState)2931 void OH_Input_SetKeyCode (struct Input_KeyState * keyState, int32_t keyCode )[all …]
40 | typedef struct [Input_KeyState](input.md#input_keystate) [Input_KeyState](input.md#input_keystate…79 …sult) [OH_Input_GetKeyState](input.md#oh_input_getkeystate) (struct [Input_KeyState](input.md#inpu…80 | struct [Input_KeyState](input.md#input_keystate) \* [OH_Input_CreateKeyState](input.md#oh_input_c…81 | void [OH_Input_DestroyKeyState](input.md#oh_input_destroykeystate) (struct [Input_KeyState](input…82 | void [OH_Input_SetKeyCode](input.md#oh_input_setkeycode) (struct [Input_KeyState](input.md#input_…83 | int32_t [OH_Input_GetKeyCode](input.md#oh_input_getkeycode) (const struct [Input_KeyState](input.…84 | void [OH_Input_SetKeyPressed](input.md#oh_input_setkeypressed) (struct [Input_KeyState](input.md#…85 | int32_t [OH_Input_GetKeyPressed](input.md#oh_input_getkeypressed) (const struct [Input_KeyState](…86 | void [OH_Input_SetKeySwitch](input.md#oh_input_setkeyswitch) (struct [Input_KeyState](input.md#in…87 | int32_t [OH_Input_GetKeySwitch](input.md#oh_input_getkeyswitch) (const struct [Input_KeyState](in…
27 struct Input_KeyState { struct88 Input_KeyState inputKeyState;106 Input_KeyState inputKeyState;343 Input_KeyState keyState;
31 | Input_Result OH_Input_GetKeyState(struct Input_KeyState* keyState); | 可以查询所有按键 | 只可以查询不可输入按键 |
44 | typedef struct [Input_KeyState](#input_keystate) [Input_KeyState](#input_keystate) | Defines key …362 ### Input_KeyState subsection1261 struct Input_KeyState* OH_Input_CreateKeyState ()1412 void OH_Input_DestroyKeyState (struct Input_KeyState ** keyState)1957 int32_t OH_Input_GetKeyCode (const struct Input_KeyState * keyState)2049 int32_t OH_Input_GetKeyPressed (const struct Input_KeyState * keyState)2072 Input_Result OH_Input_GetKeyState (struct Input_KeyState * keyState)2097 int32_t OH_Input_GetKeySwitch (const struct Input_KeyState * keyState)2931 void OH_Input_SetKeyCode (struct Input_KeyState * keyState, int32_t keyCode )3011 void OH_Input_SetKeyPressed (struct Input_KeyState * keyState, int32_t keyAction )[all …]
37 struct Input_KeyState { struct122 Input_Result OH_Input_GetKeyState(struct Input_KeyState* keyState) in OH_Input_GetKeyState()160 struct Input_KeyState* OH_Input_CreateKeyState() in OH_Input_CreateKeyState()162 Input_KeyState* keyState = new (std::nothrow) Input_KeyState(); in OH_Input_CreateKeyState()167 void OH_Input_DestroyKeyState(struct Input_KeyState** keyState) in OH_Input_DestroyKeyState()176 void OH_Input_SetKeyCode(struct Input_KeyState* keyState, int32_t keyCode) in OH_Input_SetKeyCode()190 int32_t OH_Input_GetKeyCode(const struct Input_KeyState* keyState) in OH_Input_GetKeyCode()196 void OH_Input_SetKeyPressed(struct Input_KeyState* keyState, int32_t keyAction) in OH_Input_SetKeyPressed()202 int32_t OH_Input_GetKeyPressed(const struct Input_KeyState* keyState) in OH_Input_GetKeyPressed()208 void OH_Input_SetKeySwitch(struct Input_KeyState* keyState, int32_t keySwitch) in OH_Input_SetKeySwitch()[all …]
31 | Input_Result OH_Input_GetKeyState(struct Input_KeyState* keyState); | All keys can be queried.| O…
59 struct Input_KeyState* keyState = OH_Input_CreateKeyState();76 struct Input_KeyState* keyState = OH_Input_CreateKeyState();92 struct Input_KeyState* keyState = OH_Input_CreateKeyState();108 struct Input_KeyState* keyState = OH_Input_CreateKeyState();124 struct Input_KeyState* keyState = OH_Input_CreateKeyState();