struct
ButtonEvent
Contains data about a button input event.
Public
Methods
IsKeyboard
bool IsKeyboard() const
Query is the pressed button a keyboard button.
IsMouse
bool IsMouse() const
Query is the pressed button a mouse button.
IsGamepad
bool IsGamepad() const
Query is the pressed button a gamepad button.
Fields
DeviceIndex
u32 DeviceIndex
Index of the device that the event originated from.
IsUsed
bool IsUsed
This will be set to true if some previous event receiver has marked the event as used.