diff options
author | Mark Arigo <markarigo@gmail.com> | 2009-06-19 03:23:38 +0000 |
---|---|---|
committer | Mark Arigo <markarigo@gmail.com> | 2009-06-19 03:23:38 +0000 |
commit | a61196fd3ae5ebd71134da8eb10e3189403c116f (patch) | |
tree | 7ce78201cb299ebfd6ac92f490776072c47a9e03 /firmware/export | |
parent | 6a0d931f383259b4b82fcfd1cc87700f53bbcb02 (diff) | |
download | rockbox-a61196fd3ae5ebd71134da8eb10e3189403c116f.tar.gz rockbox-a61196fd3ae5ebd71134da8eb10e3189403c116f.zip |
Philips SA9200: Working touchpad and button lights! Also, improvements to the keymap (still needs work).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21346 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rwxr-xr-x | firmware/export/config-sa9200.h | 8 | ||||
-rw-r--r-- | firmware/export/usb.h | 6 |
2 files changed, 12 insertions, 2 deletions
diff --git a/firmware/export/config-sa9200.h b/firmware/export/config-sa9200.h index e35c27e15e..37c0b50035 100755 --- a/firmware/export/config-sa9200.h +++ b/firmware/export/config-sa9200.h | |||
@@ -59,6 +59,9 @@ | |||
59 | 59 | ||
60 | #define CONFIG_KEYPAD PHILIPS_SA9200_PAD | 60 | #define CONFIG_KEYPAD PHILIPS_SA9200_PAD |
61 | 61 | ||
62 | /* define this if the target has volume keys which can be used in the lists */ | ||
63 | #define HAVE_VOLUME_IN_LIST | ||
64 | |||
62 | /* Define this if you do software codec */ | 65 | /* Define this if you do software codec */ |
63 | #define CONFIG_CODEC SWCODEC | 66 | #define CONFIG_CODEC SWCODEC |
64 | 67 | ||
@@ -99,6 +102,11 @@ | |||
99 | /* Which backlight fading type? */ | 102 | /* Which backlight fading type? */ |
100 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING | 103 | #define CONFIG_BACKLIGHT_FADING BACKLIGHT_FADING_SW_SETTING |
101 | 104 | ||
105 | /* define this if you have a light associated with the buttons */ | ||
106 | #define HAVE_BUTTON_LIGHT | ||
107 | /* Can't control the brightness on all the buttons */ | ||
108 | /* #define HAVE_BUTTONLIGHT_BRIGHTNESS */ | ||
109 | |||
102 | /* define this if you have a flash memory storage */ | 110 | /* define this if you have a flash memory storage */ |
103 | #define HAVE_FLASH_STORAGE | 111 | #define HAVE_FLASH_STORAGE |
104 | 112 | ||
diff --git a/firmware/export/usb.h b/firmware/export/usb.h index 557639c622..2707541bff 100644 --- a/firmware/export/usb.h +++ b/firmware/export/usb.h | |||
@@ -77,10 +77,12 @@ enum { | |||
77 | #elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \ | 77 | #elif (CONFIG_KEYPAD == SANSA_E200_PAD) || \ |
78 | (CONFIG_KEYPAD == SANSA_C200_PAD) || \ | 78 | (CONFIG_KEYPAD == SANSA_C200_PAD) || \ |
79 | (CONFIG_KEYPAD == SANSA_CLIP_PAD) || \ | 79 | (CONFIG_KEYPAD == SANSA_CLIP_PAD) || \ |
80 | (CONFIG_KEYPAD == SANSA_FUZE_PAD) || \ | 80 | (CONFIG_KEYPAD == SANSA_FUZE_PAD) |
81 | (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) | ||
82 | #define USBPOWER_BUTTON BUTTON_SELECT | 81 | #define USBPOWER_BUTTON BUTTON_SELECT |
83 | #define USBPOWER_BTN_IGNORE BUTTON_POWER | 82 | #define USBPOWER_BTN_IGNORE BUTTON_POWER |
83 | #elif (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) | ||
84 | #define USBPOWER_BUTTON BUTTON_PLAY | ||
85 | #define USBPOWER_BTN_IGNORE BUTTON_POWER | ||
84 | #elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD | 86 | #elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD |
85 | #define USBPOWER_BUTTON BUTTON_PLAYLIST | 87 | #define USBPOWER_BUTTON BUTTON_PLAYLIST |
86 | #define USBPOWER_BTN_IGNORE BUTTON_POWER | 88 | #define USBPOWER_BTN_IGNORE BUTTON_POWER |