Mir
Typedefs | Enumerations | Functions
keyboard_event.h File Reference
#include <xkbcommon/xkbcommon.h>
Include dependency graph for keyboard_event.h:
This graph shows which files directly or indirectly include this file:

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-2021 Canonical Ltd.
Generated on Wed Aug 11 12:02:04 UTC 2021
This documentation is licensed under the GPL version 2 or 3.