Commit 46ff5bd4 authored by Aitor Guevara's avatar Aitor Guevara
Browse files

Map keyboard arrow keys to Spectrum keyboard

Later Spectrum models (like 128K or +) include arrow keys, notably
useful in navigating the main menu. This patch adds the needed mapping
between libretro and fuse keyboard layers to support these during
emulation.
parent 4269f150
......@@ -262,6 +262,10 @@ keysyms_map_t keysyms_map[] = {
{ RETROK_RMETA, INPUT_KEY_Meta_R },
{ RETROK_LSUPER, INPUT_KEY_Super_L },
{ RETROK_RSUPER, INPUT_KEY_Super_R },
{ RETROK_UP, INPUT_KEY_Up },
{ RETROK_DOWN, INPUT_KEY_Down },
{ RETROK_RIGHT, INPUT_KEY_Right },
{ RETROK_LEFT, INPUT_KEY_Left },
{ 0, 0 } // End marker: DO NOT MOVE!
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment