[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Int 62 Fn 0050  u - Fgdriver V3.03 - "fg_intjoy" - Get Keycodes Corresp T  [V]

   AX = 0050h
   CX = joystick number (0001h or 0002h)
   ES:BX -> variable pointer record (see below)

Notes: For FGDRIVER v1.10, this function was "FG_PATTERN" (see AX=0072h);
     "FG_INTJOY" was AX=0079h
   If the indicated joystick has not been initialized with AX=0075h, 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=0044h,AX=0046h,AX=004Dh,AX=0061h

Format of variable pointer record:
Offset Size    Description
 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

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson