]> git.sur5r.net Git - cc65/commitdiff
Changed joystick bits after change in joystick code for VC20
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 9 Aug 2002 05:07:22 +0000 (05:07 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 9 Aug 2002 05:07:22 +0000 (05:07 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@1385 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/joystick.h

index f541cd0b809eeed8cf0b6657f51158281a566b18..770fdc6f75266ef720b14144737a4977bcad2603 100644 (file)
@@ -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
 
  * 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