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
|
|
@ -181,19 +181,37 @@ PLUGIN_HEADER
|
|||
#define CHC_SETTINGS_CANCEL BUTTON_RC_REC
|
||||
|
||||
#elif CONFIG_KEYPAD == COWOND2_PAD
|
||||
#define CHC_QUIT BUTTON_POWER
|
||||
#define CHC_STARTSTOP BUTTON_SELECT
|
||||
#define CHC_RESET (BUTTON_SELECT|BUTTON_MENU)
|
||||
#define CHC_MENU BUTTON_MENU
|
||||
#define CHC_SETTINGS_INC BUTTON_UP
|
||||
#define CHC_SETTINGS_DEC BUTTON_DOWN
|
||||
#define CHC_SETTINGS_OK BUTTON_SELECT
|
||||
#define CHC_QUIT BUTTON_POWER
|
||||
#define CHC_RESET (BUTTON_CENTER|BUTTON_MENU)
|
||||
#define CHC_MENU BUTTON_MENU
|
||||
#define CHC_SETTINGS_INC BUTTON_PLUS
|
||||
#define CHC_SETTINGS_DEC BUTTON_MINUS
|
||||
#define CHC_SETTINGS_CANCEL BUTTON_POWER
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TOUCHPAD
|
||||
#ifndef CHC_SETTINGS_OK
|
||||
#define CHC_SETTINGS_OK BUTTON_CENTER
|
||||
#endif
|
||||
#ifndef CHC_STARTSTOP
|
||||
#define CHC_STARTSTOP BUTTON_CENTER
|
||||
#endif
|
||||
#ifndef CHC_SETTINGS_INC
|
||||
#define CHC_SETTINGS_INC BUTTON_TOPMIDDLE
|
||||
#endif
|
||||
#ifndef CHC_SETTINGS_DEC
|
||||
#define CHC_SETTINGS_DEC BUTTON_BOTTOMMIDDLE
|
||||
#endif
|
||||
#ifndef CHC_RESET
|
||||
#define CHC_RESET BUTTON_TOPLEFT
|
||||
#endif
|
||||
#ifndef CHC_MENU
|
||||
#define CHC_MENU BUTTON_TOPRIGHT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/* leave first line blank on bitmap display, for pause icon */
|
||||
|
|
@ -650,3 +668,4 @@ static int simple_menu(int nr, unsigned char **strarr)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue