Mir
|
#include <xkbcommon/xkbcommon.h>
Go to the source code of this file.
Typedefs | |
typedef struct MirKeyboardEvent | MirKeyboardEvent |
An event type describing a change in keyboard state. More... | |
Enumerations | |
enum | MirKeyboardAction { mir_keyboard_action_up, mir_keyboard_action_down, mir_keyboard_action_repeat, mir_keyboard_actions } |
Possible actions for changing key state. More... | |
Functions | |
MirKeyboardAction | mir_keyboard_event_action (MirKeyboardEvent const *event) |
Retrieve the action which triggered a given key event. More... | |
xkb_keysym_t | mir_keyboard_event_key_code (MirKeyboardEvent const *event) |
Retrieve the xkb mapped keycode associated with the key acted on. More... | |
int | mir_keyboard_event_scan_code (MirKeyboardEvent const *event) |
Retrieve the raw hardware scan code associated with the key acted on. More... | |
char const * | mir_keyboard_event_key_text (MirKeyboardEvent const *event) |
Retrieve the text the key press would emit as null terminated utf8 string. More... | |
MirInputEventModifiers | mir_keyboard_event_modifiers (MirKeyboardEvent const *event) |
Retrieve the modifier keys pressed when the key action occured. More... | |
MirInputEvent const * | mir_keyboard_event_input_event (MirKeyboardEvent const *event) |
Retrieve the corresponding input event. More... | |
Copyright © 2012-2020
Canonical Ltd.
Generated on Sun Dec 20 20:38:20 UTC 2020
This documentation is licensed under the GPL version 2 or 3.