filename | src/maple/controller.h |
changeset | 148:3f31c2d9b783 |
prev | 31:495e480360d7 |
next | 561:533f6b478071 |
author | nkeynes |
date | Mon Jan 29 11:24:44 2007 +0000 (17 years ago) |
permissions | -rw-r--r-- |
last change | Get render size from the tile segment array Set near clip to just 0 rather than scanning the scene Fixup modulate RGB to force fragment alpha to 1.0 Add some debugging fprintfs |
file | annotate | diff | log | raw |
1.1 --- a/src/maple/controller.h Sun Dec 25 08:24:11 2005 +00001.2 +++ b/src/maple/controller.h Mon Jan 29 11:24:44 2007 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: controller.h,v 1.2 2005-12-25 08:24:11 nkeynes Exp $1.6 + * $Id: controller.h,v 1.3 2006-05-20 02:40:51 nkeynes Exp $1.7 *1.8 * Definitions for the standard controller device1.9 *1.10 @@ -35,9 +35,19 @@1.11 /* Second word of controller condition (bitmasks) */1.12 #define JOY_X_AXIS 0x000000FF1.13 #define JOY_Y_AXIS 0x0000FF001.14 +#define JOY_X_AXIS_CENTER 0x000000801.15 +#define JOY_Y_AXIS_CENTER 0x000080001.16 #define JOY2_X_AXIS 0x00FF0000 /* not on standard controller */1.17 #define JOY2_Y_AXIS 0xFF000000 /* not on standard controller */1.19 +/* The following bits are used by the emulator for flags but don't actually1.20 + * appear in the hardware1.21 + */1.22 +#define JOY_LEFT 0x800000011.23 +#define JOY_RIGHT 0x800000021.24 +#define JOY_UP 0x800000041.25 +#define JOY_DOWN 0x800000081.26 +1.27 /* Standard controller ID */1.28 #define CONTROLLER_IDENT {0x00, 0x00, 0x00, 0x01, 0x00, 0x0f, 0x06, 0xfe, 0x00, 0x00, 0x00, 0x00, \1.29 0x00, 0x00, 0x00, 0x00, 0xff, 0x00, 0x44, 0x72, 0x65, 0x61, 0x6d, 0x63, 0x61, 0x73, 0x74, 0x20, \
.