summaryrefslogtreecommitdiff
path: root/firmware/export/button.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2006-02-24 15:06:25 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2006-02-24 15:06:25 +0000
commit568ac3eb2130eb3c8075d6e1de5402647b5c2ebc (patch)
tree15c3a6a31d51a648a62408a7556c04f7ded04186 /firmware/export/button.h
parentf16c1f341a479a61e2cdf1f54de7106ac8d5fc36 (diff)
downloadrockbox-568ac3eb2130eb3c8075d6e1de5402647b5c2ebc.zip
rockbox-568ac3eb2130eb3c8075d6e1de5402647b5c2ebc.tar.gz
rockbox-568ac3eb2130eb3c8075d6e1de5402647b5c2ebc.tar.bz2
rockbox-568ac3eb2130eb3c8075d6e1de5402647b5c2ebc.tar.xz
Button driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/button.h')
-rw-r--r--firmware/export/button.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h
index 1d6acfa..484698e 100644
--- a/firmware/export/button.h
+++ b/firmware/export/button.h
@@ -23,7 +23,8 @@
#include <stdbool.h>
#include "config.h"
#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
- (CONFIG_KEYPAD == IRIVER_H300_PAD)
+ (CONFIG_KEYPAD == IRIVER_H300_PAD) || \
+ (CONFIG_KEYPAD == IAUDIO_X5_PAD)
#define HAS_BUTTON_HOLD
#define HAS_REMOTE_BUTTON_HOLD
#elif (CONFIG_KEYPAD == IPOD_4G_PAD)
@@ -192,8 +193,7 @@ bool button_hold(void);
#define BUTTON_POWER 0x0004
#define BUTTON_UP 0x0008
#define BUTTON_DOWN 0x0010
-#define BUTTON_MENU 0x0020
-#define BUTTON_OFF 0x0040 /* DOES NOT EXIST!!! */
+#define BUTTON_SELECT 0x0020
#define BUTTON_RC_REC (BUTTON_REMOTE | 0x00400000)