diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
commit | cedba8830fd015e9a61b7a772927fefe565f7b41 (patch) | |
tree | e33e1b1ff14904098534a7e78d71ba672fcb78e0 /firmware | |
parent | 205be712fe6ad03f194216bc0f936f1b5917eafd (diff) | |
download | rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.gz rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.zip |
Matt v.d. Westhuizen's iAudio X5 keypad adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/button.h | 11 | ||||
-rw-r--r-- | firmware/export/config-iaudiox5.h | 6 |
2 files changed, 14 insertions, 3 deletions
diff --git a/firmware/export/button.h b/firmware/export/button.h index 7f50b1013c..c251f11890 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h | |||
@@ -172,6 +172,17 @@ bool button_hold(void); | |||
172 | #define BUTTON_DOWN 0x0020 | 172 | #define BUTTON_DOWN 0x0020 |
173 | #define BUTTON_SELECT 0x0100 | 173 | #define BUTTON_SELECT 0x0100 |
174 | 174 | ||
175 | #elif CONFIG_KEYPAD == IAUDIO_X5_PAD | ||
176 | |||
177 | /* TODO: These codes should relate to the hardware */ | ||
178 | |||
179 | #define BUTTON_PLAY 0x0001 | ||
180 | #define BUTTON_REC 0x0002 | ||
181 | #define BUTTON_POWER 0x0004 | ||
182 | #define BUTTON_UP 0x0008 | ||
183 | #define BUTTON_DOWN 0x0010 | ||
184 | #define BUTTON_MENU 0x0020 | ||
185 | |||
175 | #endif /* RECORDER/PLAYER/ONDIO/GMINI KEYPAD */ | 186 | #endif /* RECORDER/PLAYER/ONDIO/GMINI KEYPAD */ |
176 | 187 | ||
177 | #endif /* _BUTTON_H_ */ | 188 | #endif /* _BUTTON_H_ */ |
diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h index ac3073428b..fd9a8874a7 100644 --- a/firmware/export/config-iaudiox5.h +++ b/firmware/export/config-iaudiox5.h | |||
@@ -31,6 +31,9 @@ | |||
31 | 31 | ||
32 | #define CONFIG_LCD LCD_X5 | 32 | #define CONFIG_LCD LCD_X5 |
33 | 33 | ||
34 | /* Define this for LCD backlight available */ | ||
35 | #define CONFIG_BACKLIGHT BL_IRIVER_H100 /* port controlled */ | ||
36 | |||
34 | /* Define this if you have a software controlled poweroff */ | 37 | /* Define this if you have a software controlled poweroff */ |
35 | #define HAVE_SW_POWEROFF | 38 | #define HAVE_SW_POWEROFF |
36 | 39 | ||
@@ -59,9 +62,6 @@ | |||
59 | /* The start address index for ROM builds */ | 62 | /* The start address index for ROM builds */ |
60 | #define ROM_START 0x11010 | 63 | #define ROM_START 0x11010 |
61 | 64 | ||
62 | /* Define this for LCD backlight available */ | ||
63 | #define CONFIG_BACKLIGHT BL_IRIVER_H100 /* port controlled */ | ||
64 | |||
65 | /* Define this to the CPU frequency */ | 65 | /* Define this to the CPU frequency */ |
66 | #define CPU_FREQ 11289600 | 66 | #define CPU_FREQ 11289600 |
67 | 67 | ||