Optional halt?: booleanStop propagation of the event, blocking the dispatch to next listener on the queue. Does not work for loops.
Optional on_Optional on_Optional params?: { Optional loop_Time between each trigger on button held
Optional reset_Will reset all controls that were set together upon this button press. Double check it usage when "no_initial_reset" was set to true in further controls. Only works if "persist" is false.
Optional sfx?: { Optional down?: string | (() => string)The sfx to be played on key down. You can also pass a function the returns the sfx key.
Optional up?: string | (() => string)The sfx to be played on key up. You can also pass a function the returns the sfx key.
The button that will fire the callbacks. If it's an array, the buttons will be tested if pressed in order.