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

Go to the source code of this file.

Typedefs

typedef struct MirKeyInputEvent MirKeyInputEvent
 An event type describing a change in keyboard state. More...
 

Enumerations

enum  MirKeyInputEventAction { mir_key_input_event_action_up, mir_key_input_event_action_down, mir_key_input_event_action_repeat }
 Possible actions for changing key state. More...
 

Functions

MirKeyInputEventAction mir_key_input_event_get_action (MirKeyInputEvent const *event)
 Retrieve the action which triggered a given key event. More...
 
xkb_keysym_t mir_key_input_event_get_key_code (MirKeyInputEvent const *event)
 Retrieve the xkb mapped keycode associated with the key acted on. More...
 
int mir_key_input_event_get_scan_code (MirKeyInputEvent const *event)
 Retrieve the raw hardware scan code associated with the key acted on. More...
 
MirInputEventModifiers mir_key_input_event_get_modifiers (MirKeyInputEvent const *event)
 Retrieve the modifier keys pressed when the key action occured. More...
 

Copyright © 2012,2013 Canonical Ltd.
Generated on Tue Mar 24 16:15:19 UTC 2015