JoystickCallback
function · input · orchestration
- Address
0x5142f0· 70 bytes, up to0x514335- Signature
bool __fastcall (CVar *cvar, const char *oldText, const char *newText, void *callbackArg)- Meaning
- Opens joystick 0 for a value starting with 1 and closes an open one for any other, returning 1
- 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.
Callers 0
None by a direct call or jump.
Callees 2
Calls and jumps by a bare address, from tables/calls.tsv.