ErosQ Simulator: fix keymap
The eros q simulator keys have been weird for a while, found out why. Change-Id: Icb4209774448bc3c0d67dd87f802661cf12874b2
This commit is contained in:
parent
55c95a9cf5
commit
41ced369f6
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,7 @@ int key_to_button(int keyboard_button)
|
||||||
break;
|
break;
|
||||||
case SDLK_BACKSPACE:
|
case SDLK_BACKSPACE:
|
||||||
new_btn = BUTTON_BACK;
|
new_btn = BUTTON_BACK;
|
||||||
|
break;
|
||||||
case SDLK_KP_PERIOD:
|
case SDLK_KP_PERIOD:
|
||||||
case SDLK_INSERT:
|
case SDLK_INSERT:
|
||||||
new_btn = BUTTON_MENU;
|
new_btn = BUTTON_MENU;
|
||||||
|
@ -70,6 +71,7 @@ int key_to_button(int keyboard_button)
|
||||||
case SDLK_KP_PLUS:
|
case SDLK_KP_PLUS:
|
||||||
case SDLK_PAGEDOWN:
|
case SDLK_PAGEDOWN:
|
||||||
new_btn = BUTTON_VOL_DOWN;
|
new_btn = BUTTON_VOL_DOWN;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return new_btn;
|
return new_btn;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue