Pandora port: Add support for the L/R shoulder buttons
Change-Id: I18d5998dbcf7347549008fb9e52679b65fbf7e4f
This commit is contained in:
parent
46b34da790
commit
57264cef43
1 changed files with 6 additions and 0 deletions
|
@ -46,6 +46,9 @@ int key_to_button(int keyboard_key)
|
|||
case SDLK_KP9:
|
||||
new_btn = BUTTON_TOPRIGHT;
|
||||
break;
|
||||
#if (CONFIG_PLATFORM & PLATFORM_PANDORA)
|
||||
case SDLK_RSHIFT:
|
||||
#endif
|
||||
case SDLK_KP4:
|
||||
case SDLK_LEFT:
|
||||
new_btn = BUTTON_MIDLEFT;
|
||||
|
@ -57,6 +60,9 @@ int key_to_button(int keyboard_key)
|
|||
case SDLK_KP5:
|
||||
new_btn = BUTTON_CENTER;
|
||||
break;
|
||||
#if (CONFIG_PLATFORM & PLATFORM_PANDORA)
|
||||
case SDLK_RCTRL:
|
||||
#endif
|
||||
case SDLK_KP6:
|
||||
case SDLK_RIGHT:
|
||||
new_btn = BUTTON_MIDRIGHT;
|
||||
|
|
Loading…
Reference in a new issue