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 }
 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...
 
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-2015 Canonical Ltd.
Generated on Thu Sep 8 14:50:19 UTC 2016