summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-10-04 13:54:55 -0700
committerKeith Packard <keithp@keithp.com>2013-10-04 13:54:55 -0700
commit9ccb4a63982942fdce19609d2cadbd8e51708462 (patch)
tree9248b3857d7b3c54eadaef0394110a4ecd2957ae /hw
parent5d2ec6933f6bb5116666ca1bfb07f0f20bf2a0b5 (diff)
parentda5e20127a5b6e11a47eb6e61f3ea87b056cdf5f (diff)
Merge remote-tracking branch 'whot/for-keith'
Diffstat (limited to 'hw')
-rw-r--r--hw/dmx/input/usb-private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/dmx/input/usb-private.h b/hw/dmx/input/usb-private.h
index 096607a34..2ecfdf636 100644
--- a/hw/dmx/input/usb-private.h
+++ b/hw/dmx/input/usb-private.h
@@ -102,8 +102,8 @@ typedef struct _myPrivate {
int fd; /**< File descriptor */
unsigned char mask[EV_MAX / 8 + 1]; /**< Mask */
int numRel, numAbs, numLeds; /**< Counts */
- int relmap[DMX_MAX_AXES]; /**< Relative axis map */
- int absmap[DMX_MAX_AXES]; /**< Absolute axis map */
+ int relmap[REL_CNT]; /**< Relative axis map */
+ int absmap[ABS_CNT]; /**< Absolute axis map */
CARD32 kbdState[NUM_STATE_ENTRIES]; /**< Keyboard state */
DeviceIntPtr pKeyboard; /** Keyboard device */