Optionalcode: EnumValue<ButtonCode>Optionaltimestamp: numberOptionaldeviceIndex: numberOptionalmodifiers: EnumValue<ButtonModifier>Optionaltype: EnumValue<ButtonEventType>OptionalisUsed: booleanProtected_Protected_Protected_Protected_Protected_Protected_Button code this event is referring to.
Button code this event is referring to.
Index of the device that the event originated from.
Query is the pressed button a gamepad button.
Query is the pressed button a keyboard button.
Query is the pressed button a mouse button.
Modifier flags for ctrl, shift, etc.
Timestamp in ticks when the event happened.
Specifies the type of button event received.
Clones this instance and returns a new ButtonEvent with identical values.
Determines if this ButtonEvent instance is equal to the other instance.
StaticisDetermines if both ButtonEvent instances are equal.
Contains data about a button input event.