Optionalcode: EnumValue<ButtonCode, number>Optionaltimestamp: numberOptionaldeviceIndex: numberOptionalmodifiers: EnumValue<ButtonModifier, number>Optionaltype: EnumValue<ButtonEventType, number>OptionalisUsed: booleanProtected_codeProtected_deviceProtected_isProtected_modifiersProtected_timestampProtected_typeButton 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.