OSDN Git Service

no idea how to get joy buttons 2 and 3 to function.
[proj16/16.git] / src / lib / 16_in.c
index 834e3b3..6dc41ed 100755 (executable)
@@ -1298,9 +1298,9 @@ byte      IN_MouseButtons (global_game_variables_t *gvar)
 ===================\r
 */\r
 \r
 ===================\r
 */\r
 \r
-byte   IN_JoyButtons (void)\r
+word   IN_JoyButtons (void)\r
 {\r
 {\r
-       byte joybits;\r
+       word joybits;\r
 \r
        joybits = inportb(0x201);       // Get all the joystick buttons\r
        joybits >>= 4;                          // only the high bits are useful\r
 \r
        joybits = inportb(0x201);       // Get all the joystick buttons\r
        joybits >>= 4;                          // only the high bits are useful\r