InputEvent#
Fully qualified name: 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
deviceType
is DeviceType::eKeyboard.
-
MouseEvent mouseEvent#
The MouseEvent structure that is in use when
deviceType
is DeviceType::eMouse.
-
GamepadEvent gamepadEvent#
The GamepadEvent structure that is in use when
deviceType
is DeviceType::eGamepad.
-
InputDevice *device#
The InputDevice handle that is sending the event; corresponds to the
device
member of all of the event structures.
-
union carb::input::InputEvent::[anonymous] [anonymous]#
-
DeviceType deviceType#