mirror of
https://github.com/cc65/cc65.git
synced 2024-11-18 15:05:14 +00:00
VIC20 needs other joystick constants
git-svn-id: svn://svn.cc65.org/cc65/trunk@1383 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
76ee9a1f66
commit
12154bdaa7
@ -52,11 +52,19 @@
|
||||
/* Result codes of the function. The actual code is a bitwise or
|
||||
* of one or more of the following values.
|
||||
*/
|
||||
#define JOY_UP 0x01
|
||||
#define JOY_DOWN 0x02
|
||||
#define JOY_LEFT 0x04
|
||||
#define JOY_RIGHT 0x08
|
||||
#define JOY_FIRE 0x10
|
||||
#if defined(__VIC20__)
|
||||
# define JOY_UP 0x04
|
||||
# define JOY_DOWN 0x08
|
||||
# define JOY_LEFT 0x10
|
||||
# define JOY_RIGHT 0x80
|
||||
# define JOY_FIRE 0x20
|
||||
#else
|
||||
# define JOY_UP 0x01
|
||||
# define JOY_DOWN 0x02
|
||||
# define JOY_LEFT 0x04
|
||||
# define JOY_RIGHT 0x08
|
||||
# define JOY_FIRE 0x10
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user