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
This commit is contained in:
Dave Chapman 2006-04-04 00:04:48 +00:00
parent e59a050509
commit ec5f783988

View file

@ -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