More calculate button changes: make the 'calculate' shortcut also work on the M5X5, the Ipod and the Gigabeat S pad. Also make 'select' actually select the number under the cursor and use 'menu' for calculating instead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17731 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d131a31266
commit
efbd2b8d7a
1 changed files with 16 additions and 19 deletions
|
@ -165,9 +165,8 @@ PLUGIN_HEADER
|
|||
#define CALCULATOR_UP_W_SHIFT BUTTON_SCROLL_BACK
|
||||
#define CALCULATOR_DOWN_W_SHIFT BUTTON_SCROLL_FWD
|
||||
#define CALCULATOR_QUIT BUTTON_MENU
|
||||
#define CALCULATOR_INPUT_CALC_PRE BUTTON_SELECT
|
||||
#define CALCULATOR_INPUT (BUTTON_SELECT | BUTTON_REL)
|
||||
#define CALCULATOR_CALC (BUTTON_PLAY | BUTTON_REPEAT)
|
||||
#define CALCULATOR_INPUT BUTTON_SELECT
|
||||
#define CALCULATOR_CALC BUTTON_PLAY
|
||||
|
||||
#elif (CONFIG_KEYPAD == IAUDIO_X5M5_PAD)
|
||||
|
||||
|
@ -176,8 +175,7 @@ PLUGIN_HEADER
|
|||
#define CALCULATOR_UP BUTTON_UP
|
||||
#define CALCULATOR_DOWN BUTTON_DOWN
|
||||
#define CALCULATOR_QUIT BUTTON_POWER
|
||||
#define CALCULATOR_INPUT_CALC_PRE BUTTON_SELECT
|
||||
#define CALCULATOR_INPUT (BUTTON_SELECT | BUTTON_REL)
|
||||
#define CALCULATOR_INPUT BUTTON_SELECT
|
||||
#define CALCULATOR_CALC BUTTON_PLAY
|
||||
#define CALCULATOR_CLEAR BUTTON_REC
|
||||
|
||||
|
@ -228,9 +226,8 @@ PLUGIN_HEADER
|
|||
#define CALCULATOR_UP BUTTON_UP
|
||||
#define CALCULATOR_DOWN BUTTON_DOWN
|
||||
#define CALCULATOR_QUIT BUTTON_BACK
|
||||
#define CALCULATOR_INPUT_CALC_PRE BUTTON_MENU
|
||||
#define CALCULATOR_INPUT (BUTTON_MENU | BUTTON_REL)
|
||||
#define CALCULATOR_CALC BUTTON_SELECT
|
||||
#define CALCULATOR_INPUT BUTTON_SELECT
|
||||
#define CALCULATOR_CALC BUTTON_MENU
|
||||
#define CALCULATOR_CLEAR BUTTON_PLAY
|
||||
|
||||
#elif (CONFIG_KEYPAD == MROBE100_PAD)
|
||||
|
|
Loading…
Reference in a new issue