From ec5f78398819e4d662c6c07971864f1550628cd1 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Tue, 4 Apr 2006 00:04:48 +0000 Subject: Make the core key mappings more logical - e.g. map KEY_UPARROW to "key_up". This makes the ipod work as expected, but will change the H300 behaviour - future changes to key bindings should be made in i_video.c. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9477 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/doom/m_misc.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/doom/m_misc.c b/apps/plugins/doom/m_misc.c index 2cde2102e6..a7417f464a 100644 --- a/apps/plugins/doom/m_misc.c +++ b/apps/plugins/doom/m_misc.c @@ -351,7 +351,7 @@ default_t defaults[] = 0,MAX_KEY,def_key,ss_keys, 0, 0}, // key to turn right {"key_left", {&key_left, NULL}, {KEY_LEFTARROW, NULL} , 0,MAX_KEY,def_key,ss_keys, 0, 0}, // key to turn left - {"key_up", {&key_up, NULL}, {KEY_RCTRL, NULL} , + {"key_up", {&key_up, NULL}, {KEY_UPARROW, NULL} , 0,MAX_KEY,def_key,ss_keys, 0, 0}, // key to move forward {"key_down", {&key_down, NULL}, {KEY_DOWNARROW, NULL}, 0,MAX_KEY,def_key,ss_keys, 0, 0}, // key to move backward @@ -375,11 +375,11 @@ default_t defaults[] = {"key_straferight", {&key_straferight, NULL}, {'.', NULL}, 0,MAX_KEY,def_key,ss_keys, 0, 0}, // key to strafe right - {"key_fire", {&key_fire, NULL}, {' ', NULL} , + {"key_fire", {&key_fire, NULL}, {KEY_RCTRL, NULL} , 0,MAX_KEY,def_key,ss_keys, 0, 0}, // duh - {"key_use", {&key_use, NULL}, {KEY_DOWNARROW, NULL}, + {"key_use", {&key_use, NULL}, {' ', NULL}, 0,MAX_KEY,def_key,ss_keys, 0, 0}, // key to open a door, use a switch - {"key_strafe", {&key_strafe, NULL}, {'w', NULL} , + {"key_strafe", {&key_strafe, NULL}, {'s', NULL} , 0,MAX_KEY,def_key,ss_keys, 0, 0}, // key to use with arrows to strafe {"key_speed", {&key_speed, NULL}, {KEY_RSHIFT, NULL} , 0,MAX_KEY,def_key,ss_keys, 0, 0}, // key to run @@ -459,7 +459,7 @@ default_t defaults[] = 0,MAX_KEY,def_key,ss_keys, 0, 0}, // key to chat with player 3 {"key_chatplayer4", {&destination_keys[3], NULL}, {'r', NULL}, 0,MAX_KEY,def_key,ss_keys, 0, 0}, // key to chat with player 4 - {"key_weapon",{&key_weapon, NULL}, {KEY_UPARROW, NULL}, + {"key_weapon",{&key_weapon, NULL}, {'w', NULL}, 0,MAX_KEY,def_key,ss_keys, 0, 0}, // key to toggle between two most preferred weapons with ammo {"key_weapontoggle",{&key_weapontoggle, NULL}, {'0', NULL}, 0,MAX_KEY,def_key,ss_keys, 0, 0}, // key to toggle between two most preferred weapons with ammo -- cgit v1.2.3