mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
Changed joystick bits after change in joystick code for VC20
git-svn-id: svn://svn.cc65.org/cc65/trunk@1385 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
94ea416652
commit
f64baf02ec
@ -41,7 +41,7 @@
|
||||
/* Define __JOYSTICK__ for systems that support a joystick */
|
||||
#if defined(__ATARI__) || defined(__C64__) || defined(__C128__) || defined(__PLUS4__) || defined(__CBM510__) || defined(__VIC20__)
|
||||
# define __JOYSTICK__
|
||||
#else
|
||||
#else
|
||||
# error The target system does not support a joystick!
|
||||
# endif
|
||||
|
||||
@ -53,11 +53,11 @@
|
||||
* 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_UP 0x02
|
||||
# define JOY_DOWN 0x04
|
||||
# define JOY_LEFT 0x08
|
||||
# define JOY_RIGHT 0x80
|
||||
# define JOY_FIRE 0x20
|
||||
# define JOY_FIRE 0x10
|
||||
#else
|
||||
# define JOY_UP 0x01
|
||||
# define JOY_DOWN 0x02
|
||||
|
Loading…
Reference in New Issue
Block a user