forked from len0rd/rockbox
hm801: Add support for plugins.
Change-Id: I81654db87d38324d8680a56bcdb7e9922ee5b619
This commit is contained in:
parent
397863ab3d
commit
6ee3fc81d9
51 changed files with 398 additions and 20 deletions
|
|
@ -454,6 +454,17 @@ F3: equal to "="
|
|||
#define CALCULATOR_CALC (BUTTON_UP|BUTTON_POWER)
|
||||
#define CALCULATOR_CLEAR (BUTTON_DOWN|BUTTON_POWER)
|
||||
|
||||
#elif (CONFIG_KEYPAD == HM801_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 BUTTON_SELECT
|
||||
#define CALCULATOR_CALC BUTTON_PLAY
|
||||
#define CALCULATOR_CLEAR BUTTON_PREV
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue