]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_in.c
no idea how to get joy buttons 2 and 3 to function.
[16.git] / src / lib / 16_in.c
index 834e3b3737f1d1a336aaaf879b925de8d1514529..6dc41edc60295023222f2113750c3c2a06121db4 100755 (executable)
@@ -1298,9 +1298,9 @@ byte      IN_MouseButtons (global_game_variables_t *gvar)
 ===================\r
 */\r
 \r
-byte   IN_JoyButtons (void)\r
+word   IN_JoyButtons (void)\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