Int 62 Fn 0062 u - Fgdriver V4.02 - "fg_intjoy" - Get Keycodes Corresp T [V]
AX = 0062h
CX = joystick number (0001h or 0002h)
ES:BX -> variable pointer record (see #3159)
Notes: the FGDRIVER functions are rearranged with each major release, but
their parameters do not change (see #3145 at AX=0000h)
If the indicated joystick has not been initialized with AX=008Eh, both
the button code and joystick position will be set to 00h
If either button is pressed, a button code of 0Dh is returned;
otherwise, a button code of 00h is returned
See Also: AX=0009h,AX=0052h,AX=0046h,AX=005Eh,AX=0077h
Format of FGDRIVER INTJOY variable pointer record:
Offset Size Description (Table 3159)
00h WORD segment of BYTE buffer for button code
02h WORD offset of BYTE buffer for button code
04h WORD segment of BYTE buffer for joystick position
06h WORD offset of BYTE buffer for joystick position