OSDN Git Service
(root)
/
proj16
/
16.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
no idea how to get joy buttons 2 and 3 to function.
[proj16/16.git]
/
src
/
lib
/
16_in.c
diff --git
a/src/lib/16_in.c
b/src/lib/16_in.c
index
834e3b3
..
6dc41ed
100755
(executable)
--- a/
src/lib/16_in.c
+++ b/
src/lib/16_in.c
@@
-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