Oxygine
1
2g game engine
|
#include <KeyEvent.h>
Public Types | |
enum | KEY_EVENT { KEY_DOWN = sysEventID('K', 'E', 'D'), KEY_UP = sysEventID('K', 'E', 'U') } |
Public Types inherited from oxygine::Event | |
enum | { COMPLETE = sysEventID('C', 'M', 'P') } |
enum | Phase { phase_capturing = 1, phase_target, phase_bubbling } |
Public Member Functions | |
KeyEvent (KEY_EVENT k, SDL_KeyboardEvent *d) | |
Public Member Functions inherited from oxygine::Event | |
Event (eventType Type, bool Bubbles=false) | |
void | stopPropagation () |
void | stopImmediatePropagation () |
void | removeListener () |
Public Attributes | |
SDL_KeyboardEvent * | data |
Public Attributes inherited from oxygine::Event | |
eventType | type |
Phase | phase |
bool | bubbles |
bool | stopsImmediatePropagation |
bool | stopsPropagation |
void * | userData |
spObject | userDataObject |
int | listenerID |
spEventDispatcher | target |
spEventDispatcher | currentTarget |
supported only on SDL