carb::input::InputEvent
Defined in carb/input/InputTypes.h
- 
struct InputEvent
- Defines the unified input event. - Public Members - 
DeviceType deviceType
- The DeviceType that dictates which member is valid. 
 - 
KeyboardEvent keyboardEvent
- The KeyboardEvent structure that is in use when - deviceTypeis DeviceType::eKeyboard.
 - 
MouseEvent mouseEvent
- The MouseEvent structure that is in use when - deviceTypeis DeviceType::eMouse.
 - 
GamepadEvent gamepadEvent
- The GamepadEvent structure that is in use when - deviceTypeis DeviceType::eGamepad.
 - 
InputDevice *device
- The InputDevice handle that is sending the event; corresponds to the - devicemember of all of the event structures.
 - 
union carb::input::InputEvent::[anonymous] [anonymous]
 
- 
DeviceType deviceType