]> git.sur5r.net Git - cc65/blobdiff - include/nes.h
Fixed bogus formatting of recent contribution.
[cc65] / include / nes.h
index fd762a09a35c60ee9800ab26bc529f429baedf19..7bf56c9952dc03a8e68f57edfd83cb5fb6e81300 100644 (file)
 #define DYN_DRV         0
 
 /* The joystick keys - all keys are supported */
-#define KEY_UP         0x10
-#define KEY_DOWN       0x20
-#define KEY_LEFT       0x40
-#define KEY_RIGHT      0x80
-#define KEY_A          0x1
-#define KEY_B          0x2
-#define KEY_SELECT     0x4
-#define KEY_START      0x8
-
+#define KEY_A           0x01
+#define KEY_B           0x02
+#define KEY_SELECT      0x04
+#define KEY_START       0x08
+#define KEY_UP          0x10
+#define KEY_DOWN        0x20
+#define KEY_LEFT        0x40
+#define KEY_RIGHT       0x80
 
 /* The addresses of the static drivers */
 extern void nes_stdjoy_joy[];       /* Referred to by joy_static_stddrv[] */