From 161610c7a628d3a3100e5169ec291dfbf4f88600 Mon Sep 17 00:00:00 2001 From: Themaister Date: Fri, 31 Dec 2010 03:00:19 +0100 Subject: [PATCH] Add some more glfw key maps. --- settings.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/settings.c b/settings.c index 42e0da94f6..015e885a51 100644 --- a/settings.c +++ b/settings.c @@ -276,6 +276,7 @@ struct bind_map int snes_key; }; +// Big and nasty bind map... :) static const struct bind_map bind_maps[2][13] = { { { "input_player1_a", "input_player1_a_btn", NULL, SNES_DEVICE_ID_JOYPAD_A }, @@ -322,6 +323,9 @@ static const struct glfw_map glfw_map[] = { { "up", GLFW_KEY_UP }, { "down", GLFW_KEY_DOWN }, { "enter", GLFW_KEY_ENTER }, + { "tab", GLFW_KEY_TAB }, + { "insert", GLFW_KEY_INSERT }, + { "del", GLFW_KEY_DEL }, { "rshift", GLFW_KEY_RSHIFT }, { "shift", GLFW_KEY_LSHIFT }, { "ctrl", GLFW_KEY_LCTRL },