benilla-re systems structs docs

s_joystickHandle

global · input

Address
0x8500b4 · 4 bytes, up to 0x8500b7
Type
uint32_t
Meaning
Holds the open joystick input control, -1 while none is open
Confidence
verified, proof one
Finding
input#joystick-setting

Finding: Joystick setting in input

Start-up registers Joystick (help enable joystick control, default 0) before it creates the input control. When the new text begins with the character 1 and the handle 0x8500b4 is −1, its callback calls 0x7a71d0(0) and keeps the result there; any other text, 2 and true included, closes a handle that is not −1 and stores −1. Closing calls 0x7a7320, which only returns, so nothing is released. The callback returns 1 either way.

The derivation is in the doc.