![]() |
Public Types | |
| enum | Type { NONE, KEY, MOUSE_MOTION, MOUSE_BUTTON, JOYSTICK_MOTION, JOYSTICK_BUTTON, SCREEN_TOUCH, SCREEN_DRAG, ACTION, TYPE_MAX } |
Public Member Functions | |
| bool | is_pressed () const |
| bool | is_action (const String &p_action) const |
| bool | is_action_pressed (const String &p_action) const |
| bool | is_action_released (const String &p_action) const |
| bool | is_echo () const |
| void | set_as_action (const String &p_action, bool p_pressed) |
| InputEvent | xform_by (const Matrix32 &p_xform) const |
| bool | operator== (const InputEvent &p_event) const |
| operator String () const | |
Public Attributes | |
| uint32_t | ID |
| int | type |
| int | device |
| union { | |
| InputEventMouseMotion mouse_motion | |
| InputEventMouseButton mouse_button | |
| InputEventJoystickMotion joy_motion | |
| InputEventJoystickButton joy_button | |
| InputEventKey key | |
| InputEventScreenTouch screen_touch | |
| InputEventScreenDrag screen_drag | |
| InputEventAction action | |
| }; | |
1.8.11