summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorSzymon Dziok <b0hoon@o2.pl>2010-10-18 19:30:54 +0000
committerSzymon Dziok <b0hoon@o2.pl>2010-10-18 19:30:54 +0000
commit057806f67a6a8f79a003fd15db06937999a3edc5 (patch)
treef3e4fef8d284b9c603e63896deebaa66509c89f3 /firmware
parentdc521b5d48e11fbccbea07b450e21f63c28066ef (diff)
downloadrockbox-057806f67a6a8f79a003fd15db06937999a3edc5.tar.gz
rockbox-057806f67a6a8f79a003fd15db06937999a3edc5.tar.bz2
rockbox-057806f67a6a8f79a003fd15db06937999a3edc5.zip
HDD6330: Try to adapt the keys for the new touchpad code, remove the non existing buttons, enable morse input.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28306 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/usb.h2
-rw-r--r--firmware/target/arm/philips/hdd6330/button-target.h6
2 files changed, 2 insertions, 6 deletions
diff --git a/firmware/export/usb.h b/firmware/export/usb.h
index 55b5f2cffb..3e236bfb9f 100644
--- a/firmware/export/usb.h
+++ b/firmware/export/usb.h
@@ -90,7 +90,7 @@ enum {
#define USBPOWER_BUTTON BUTTON_PLAYLIST
#define USBPOWER_BTN_IGNORE BUTTON_POWER
#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
-#define USBPOWER_BUTTON BUTTON_SELECT
+#define USBPOWER_BUTTON BUTTON_LEFT
#define USBPOWER_BTN_IGNORE BUTTON_POWER
#elif CONFIG_KEYPAD == SAMSUNG_YH_PAD
#define USBPOWER_BUTTON BUTTON_RIGHT
diff --git a/firmware/target/arm/philips/hdd6330/button-target.h b/firmware/target/arm/philips/hdd6330/button-target.h
index 07d8d9b0de..492a5014e5 100644
--- a/firmware/target/arm/philips/hdd6330/button-target.h
+++ b/firmware/target/arm/philips/hdd6330/button-target.h
@@ -53,11 +53,7 @@ void button_int(void);
#define BUTTON_NEXT 0x00000200
#define BUTTON_PREV 0x00000400
#define BUTTON_PLAY 0x00000800
-
-#define BUTTON_SELECT 0x00001000
-#define BUTTON_PLAYLIST 0x00002000
-
-#define BUTTON_MAIN 0x00003fff
+#define BUTTON_MAIN 0x00000fff
/* No Remote control */
#define BUTTON_REMOTE 0