forked from len0rd/rockbox
FS#8708: D2/m:robe500 touchscreen keymaps by Andreas Mueller.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17261 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6b9b508aab
commit
297e0504da
53 changed files with 1418 additions and 364 deletions
|
@ -97,13 +97,25 @@ extern const fb_data matrix_normal[];
|
|||
#define MATRIX_PAUSE BUTTON_RC_PLAY
|
||||
#elif (CONFIG_KEYPAD == COWOND2_PAD)
|
||||
#define MATRIX_EXIT BUTTON_POWER
|
||||
#define MATRIX_SLEEP_MORE BUTTON_PLUS
|
||||
#define MATRIX_SLEEP_LESS BUTTON_MINUS
|
||||
#define MATRIX_PAUSE BUTTON_MENU
|
||||
#else
|
||||
#error Unsupported keypad
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TOUCHPAD
|
||||
#ifndef MATRIX_EXIT
|
||||
#define MATRIX_EXIT BUTTON_TOPLEFT
|
||||
#endif
|
||||
#ifndef MATRIX_SLEEP_MORE
|
||||
#define MATRIX_SLEEP_MORE BUTTON_MIDRIGHT
|
||||
#endif
|
||||
#ifndef MATRIX_SLEEP_LESS
|
||||
#define MATRIX_SLEEP_LESS BUTTON_MIDLEFT
|
||||
#endif
|
||||
#ifndef MATRIX_PAUSE
|
||||
#define MATRIX_PAUSE BUTTON_CENTER
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define SLEEP HZ/50
|
||||
|
||||
/* Codec api pointer */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue