1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-01 00:57:11 +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:
cuz 2002-08-08 12:28:11 +00:00
parent 76ee9a1f66
commit 12154bdaa7

View File

@ -52,11 +52,19 @@
/* Result codes of the function. The actual code is a bitwise or
* of one or more of the following values.
*/
#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