Home
last modified time | relevance | path

Searched refs:Input_KeyState (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/interfaces/kits/c/input/
H A Doh_input_manager.h202 typedef struct Input_KeyState Input_KeyState; typedef
360 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);
/ohos5.0/docs/zh-cn/application-dev/reference/apis-input-kit/
H A Dinput.md44 | typedef struct [Input_KeyState](#input_keystate) [Input_KeyState](#input_keystate) | 定义按键信息,用于标识按…
362 ### Input_KeyState subsection
1261 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 …]
H A Doh__input__manager_8h.md40 | 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…
/ohos5.0/foundation/multimodalinput/input/frameworks/native/input/test/
H A Doh_input_manager_test.cpp27 struct Input_KeyState { struct
88 Input_KeyState inputKeyState;
106 Input_KeyState inputKeyState;
343 Input_KeyState keyState;
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.38/
H A Dchangelogs-multimodalinput.md31 | Input_Result OH_Input_GetKeyState(struct Input_KeyState* keyState); | 可以查询所有按键 | 只可以查询不可输入按键 |
/ohos5.0/docs/en/application-dev/reference/apis-input-kit/
H A Doh__input__manager_8h.md40 | 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…
H A Dinput.md44 | typedef struct [Input_KeyState](#input_keystate) [Input_KeyState](#input_keystate) | Defines key …
362 ### Input_KeyState subsection
1261 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 …]
/ohos5.0/foundation/multimodalinput/input/frameworks/native/input/
H A Doh_input_manager.cpp37 struct Input_KeyState { struct
122 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 …]
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.38/
H A Dchangelogs-multimodalinput.md31 | Input_Result OH_Input_GetKeyState(struct Input_KeyState* keyState); | All keys can be queried.| O…
/ohos5.0/foundation/multimodalinput/input/test/unittest/interfaces/kits/
H A Dinput_native_test.cpp59 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();