* {{Parameter|button function}} specifies the device's button function. Even functions record events while odd ones read the actual presses.
* '''QB64''' can designate a button function and controller device number from 0 to 256.
* When no parameters are used '''QB64''' enables, disables or suspends the reading of ALL button events.
* [[STRIG(n)|ON]] specifies that event trapping is turned on for the specified button.
* [[STRIG(n)|OFF]] specifies that event trapping is turned off for the specified button.
* If {{KW|STRIG(n)|STOP}} is specified, event trapping is suspended for the specified button. Further joystick button events are remembered and trapped, in order, after the next {{KW|STRIG(n)|STRIG(n) ON}} statement is used.