Abstract
Device is the base class for all input devices. It provides onAnyButtonPress event that is triggered when any device button is pressed. (e.g. Keyboard, Mouse, Gamepad)
Readonly
onAnyButtonPress is an event that is triggered when any device button is pressed. Add observers and emit the event.
Device is the base class for all input devices. It provides onAnyButtonPress event that is triggered when any device button is pressed. (e.g. Keyboard, Mouse, Gamepad)