]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/16_in.c
updated copyleft and need to test and fix newer version of open watcom
[16.git] / src / lib / 16_in.c
index 834e3b3737f1d1a336aaaf879b925de8d1514529..3c6a2465c94912b26444bed3cba9a18cbf91c68a 100755 (executable)
@@ -1,5 +1,5 @@
 /* Project 16 Source Code~\r
- * Copyright (C) 2012-2021 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
+ * Copyright (C) 2012-2022 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover\r
  *\r
  * This file is part of Project 16.\r
  *\r
@@ -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