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
|
|
@ -251,20 +251,37 @@ PLUGIN_HEADER
|
|||
|
||||
#elif (CONFIG_KEYPAD == COWOND2_PAD)
|
||||
|
||||
#define CALCULATOR_LEFT BUTTON_LEFT
|
||||
#define CALCULATOR_RIGHT BUTTON_RIGHT
|
||||
#define CALCULATOR_UP BUTTON_UP
|
||||
#define CALCULATOR_DOWN BUTTON_DOWN
|
||||
#define CALCULATOR_QUIT BUTTON_POWER
|
||||
#define CALCULATOR_INPUT_CALC_PRE BUTTON_MINUS
|
||||
#define CALCULATOR_INPUT BUTTON_PLUS
|
||||
#define CALCULATOR_CALC BUTTON_SELECT
|
||||
#define CALCULATOR_CLEAR BUTTON_MENU
|
||||
#define CALCULATOR_QUIT BUTTON_POWER
|
||||
#define CALCULATOR_CLEAR BUTTON_MENU
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TOUCHPAD
|
||||
#ifndef CALCULATOR_LEFT
|
||||
#define CALCULATOR_LEFT BUTTON_MIDLEFT
|
||||
#endif
|
||||
#ifndef CALCULATOR_RIGHT
|
||||
#define CALCULATOR_RIGHT BUTTON_MIDRIGHT
|
||||
#endif
|
||||
#ifndef CALCULATOR_UP
|
||||
#define CALCULATOR_UP BUTTON_TOPMIDDLE
|
||||
#endif
|
||||
#ifndef CALCULATOR_DOWN
|
||||
#define CALCULATOR_DOWN BUTTON_BOTTOMMIDDLE
|
||||
#endif
|
||||
#ifndef CALCULATOR_CALC
|
||||
#define CALCULATOR_CALC BUTTON_BOTTOMRIGHT
|
||||
#endif
|
||||
#ifndef CALCULATOR_INPUT
|
||||
#define CALCULATOR_INPUT BUTTON_CENTER
|
||||
#endif
|
||||
#ifndef CALCULATOR_CLEAR
|
||||
#define CALCULATOR_CLEAR BUTTON_TOPRIGHT
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static struct plugin_api* rb;
|
||||
|
||||
enum {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue