summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-04-04 00:04:48 +0000
committerDave Chapman <dave@dchapman.com>2006-04-04 00:04:48 +0000
commitec5f78398819e4d662c6c07971864f1550628cd1 (patch)
treee1ed1c79dea64268602a7e91d07a894526860ffd
parente59a0505095a8f57ba4f8e2551024c276e9475e8 (diff)
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
-rw-r--r--apps/plugins/doom/m_misc.c10
1 files changed, 5 insertions, 5 deletions
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