Add button map for the Clip.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19844 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2009-01-24 10:41:42 +00:00
parent 259116cefc
commit 74b97fa139

View file

@ -91,6 +91,14 @@ PLUGIN_HEADER
#define GREYSCALE_RC_OFF BUTTON_REC
#elif CONFIG_KEYPAD == SANSA_CLIP_PAD
#define GREYSCALE_SHIFT BUTTON_SELECT
#define GREYSCALE_UP BUTTON_UP
#define GREYSCALE_DOWN BUTTON_DOWN
#define GREYSCALE_LEFT BUTTON_LEFT
#define GREYSCALE_RIGHT BUTTON_RIGHT
#define GREYSCALE_OFF BUTTON_POWER
#endif
#define GFX_HEIGHT (LCD_HEIGHT-8)