aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Board/EVK1101/Joystick.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-03-11 06:47:39 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-03-11 06:47:39 +0000
commitc8a438d66c40f444b5b5fa6a814492fef75886ed (patch)
tree96fedf9dcc53d7bea53f4f01dd6a7cb3a73b6c21 /LUFA/Drivers/Board/EVK1101/Joystick.h
parente4b3e3fc65c0f0bbb10047c159a4771d6359e9b6 (diff)
downloadlufa-c8a438d66c40f444b5b5fa6a814492fef75886ed.tar.gz
lufa-c8a438d66c40f444b5b5fa6a814492fef75886ed.tar.bz2
lufa-c8a438d66c40f444b5b5fa6a814492fef75886ed.zip
Add structure padding to the appropriate descriptor structures to maintain correct alignments on larger architectures.
Fix EVK1101 swapped joystick Right/Down masks.
Diffstat (limited to 'LUFA/Drivers/Board/EVK1101/Joystick.h')
-rw-r--r--LUFA/Drivers/Board/EVK1101/Joystick.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/LUFA/Drivers/Board/EVK1101/Joystick.h b/LUFA/Drivers/Board/EVK1101/Joystick.h
index eb410deed..e135a4fd5 100644
--- a/LUFA/Drivers/Board/EVK1101/Joystick.h
+++ b/LUFA/Drivers/Board/EVK1101/Joystick.h
@@ -81,10 +81,10 @@
#define JOY_UP (1UL << 7)
/** Mask for the joystick being pushed in the right direction. */
- #define JOY_RIGHT (1UL << 8)
+ #define JOY_RIGHT (1UL << 9)
/** Mask for the joystick being pushed in the downward direction. */
- #define JOY_DOWN (1UL << 9)
+ #define JOY_DOWN (1UL << 8)
/** Mask for the joystick being pushed inward. */
#define JOY_PRESS (1UL << 13)