Ubuntu Platform API  2.3.0
A library helping with tight integration into the Ubuntu platform
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
KeyEvent Struct Reference

#include <event.h>

+ Collaboration diagram for KeyEvent:

Data Fields

WindowEventType type
 
int32_t device_id
 Device that this event originated from. More...
 
int32_t source_id
 Source that this event originated from. More...
 
int32_t action
 Action signalled by this event. More...
 
int32_t flags
 Flags associated with this event. More...
 
int32_t meta_state
 State of the meta modifiers (ALT, CTRL, SHIFT). More...
 
int32_t key_code
 
int32_t scan_code
 
int32_t repeat_count
 
nsecs_t down_time
 
nsecs_t event_time
 
int is_system_key
 

Detailed Description

Information describing an event originating from a keyboard key.

Definition at line 127 of file event.h.

Field Documentation

int32_t KeyEvent::action

Action signalled by this event.

Definition at line 133 of file event.h.

int32_t KeyEvent::device_id

Device that this event originated from.

Definition at line 131 of file event.h.

nsecs_t KeyEvent::down_time

Definition at line 140 of file event.h.

nsecs_t KeyEvent::event_time

Definition at line 141 of file event.h.

int32_t KeyEvent::flags

Flags associated with this event.

Definition at line 134 of file event.h.

int KeyEvent::is_system_key
Deprecated:
Do not use.

Definition at line 142 of file event.h.

int32_t KeyEvent::key_code

Definition at line 137 of file event.h.

int32_t KeyEvent::meta_state

State of the meta modifiers (ALT, CTRL, SHIFT).

Definition at line 135 of file event.h.

int32_t KeyEvent::repeat_count

Definition at line 139 of file event.h.

int32_t KeyEvent::scan_code

Definition at line 138 of file event.h.

int32_t KeyEvent::source_id

Source that this event originated from.

Definition at line 132 of file event.h.

WindowEventType KeyEvent::type

Definition at line 129 of file event.h.


The documentation for this struct was generated from the following file: