From: cuz Date: Fri, 9 Aug 2002 05:07:22 +0000 (+0000) Subject: Changed joystick bits after change in joystick code for VC20 X-Git-Tag: V2.12.0~2242 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f64baf02ec3dec36f85d6719dfa8fccce22632dd;p=cc65 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 --- diff --git a/include/joystick.h b/include/joystick.h index f541cd0b8..770fdc6f7 100644 --- a/include/joystick.h +++ b/include/joystick.h @@ -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