Make the Sansa Clip and Fuze sim keymapping more like other Sansas with regard to the use of the numpad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21713 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
59c4b6816b
commit
eb915ce6a1
1 changed files with 7 additions and 1 deletions
|
@ -974,6 +974,7 @@ void button_event(int key, bool pressed)
|
|||
new_btn = BUTTON_DOWN;
|
||||
break;
|
||||
case SDLK_KP_MINUS:
|
||||
case SDLK_KP1:
|
||||
new_btn = BUTTON_POWER;
|
||||
break;
|
||||
case SDLK_KP_MULTIPLY:
|
||||
|
@ -1002,20 +1003,25 @@ void button_event(int key, bool pressed)
|
|||
case SDLK_DOWN:
|
||||
new_btn = BUTTON_DOWN;
|
||||
break;
|
||||
|
||||
case SDLK_INSERT:
|
||||
case SDLK_KP_MULTIPLY:
|
||||
new_btn = BUTTON_HOME;
|
||||
break;
|
||||
case SDLK_SPACE:
|
||||
case SDLK_KP5:
|
||||
new_btn = BUTTON_SELECT;
|
||||
break;
|
||||
case SDLK_PAGEDOWN:
|
||||
case SDLK_KP3:
|
||||
new_btn = BUTTON_VOL_DOWN;
|
||||
break;
|
||||
case SDLK_PAGEUP:
|
||||
case SDLK_KP9:
|
||||
new_btn = BUTTON_VOL_UP;
|
||||
break;
|
||||
case SDLK_ESCAPE:
|
||||
case SDLK_p:
|
||||
case SDLK_KP1:
|
||||
new_btn = BUTTON_POWER;
|
||||
break;
|
||||
#elif CONFIG_KEYPAD == SANSA_M200_PAD
|
||||
|
|
Loading…
Reference in a new issue