Polycode::InputEvent Class Reference

Event dispatched by CoreInput. More...

Inherits Polycode::Event.

List of all members.

Public Attributes

int mouseButton
 If this is a mouse click event, the mouse button that's pressed.
Vector2 mousePosition
 If this is a mouse event, the mouse position.
PolyKEY key
 If this is a key event, the key code that's coming down or up.
wchar_t charCode
 If this is a key press event, this will contain the unicode character that's being typed.

Static Public Attributes

Input event types.

Possible input event types dispatched by CoreInput.

static const int EVENT_MOUSEDOWN = 0
static const int EVENT_MOUSEUP = 1
static const int EVENT_MOUSEMOVE = 2
static const int EVENT_MOUSEOVER = 3
static const int EVENT_MOUSEOUT = 4
static const int EVENT_DOUBLECLICK = 5
static const int EVENT_MOUSEUP_OUTSIDE = 6
static const int EVENT_MOUSEWHEEL_UP = 7
static const int EVENT_MOUSEWHEEL_DOWN = 8
static const int EVENT_KEYDOWN = 13
static const int EVENT_KEYUP = 14
static const int EVENT_JOYBUTTON_DOWN = 15
static const int EVENT_JOYBUTTON_UP = 16
static const int EVENT_JOYAXIS_MOVED = 17
static const int EVENT_JOYDEVICE_ATTACHED = 18
static const int EVENT_JOYDEVICE_DETACHED = 19
static const int EVENT_TOUCHES_BEGAN = 20
static const int EVENT_TOUCHES_MOVED = 21
static const int EVENT_TOUCHES_ENDED = 22

Detailed Description

Event dispatched by CoreInput.

This event is dispatched by CoreInput when input happens.

Generated on Sat Aug 11 18:04:11 2012 for Polycode by  doxygen 1.6.3