summaryrefslogtreecommitdiff
path: root/src/keyboardconfig.cpp
diff options
context:
space:
mode:
authorJoshua Langley <joshlangley[at]optusnet.com.au>2007-08-21 15:11:19 +0000
committerJoshua Langley <joshlangley[at]optusnet.com.au>2007-08-21 15:11:19 +0000
commit0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9 (patch)
treea07d923f09e8c9aa4a478e2bd572ab94edf09ae4 /src/keyboardconfig.cpp
parent148b62c05337eaaaf3a1ead212b3792122812cee (diff)
downloadmana-client-0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9.tar.gz
mana-client-0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9.tar.bz2
mana-client-0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9.tar.xz
mana-client-0f8e80bcfe92ca39803f0443cf4b30e3f9171eb9.zip
mantis id=118 - Added Item Shortcut Bar.
Diffstat (limited to 'src/keyboardconfig.cpp')
-rw-r--r--src/keyboardconfig.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp
index aea96942..649d60b6 100644
--- a/src/keyboardconfig.cpp
+++ b/src/keyboardconfig.cpp
@@ -47,7 +47,17 @@ static KeyData const keyData[KeyboardConfig::KEY_TOTAL] = {
{"keyTargetClosest", SDLK_a, "Target Closest"},
{"keyPickup", SDLK_z, "Pickup"},
{"keyHideWindows", SDLK_h, "Hide Windows"},
- {"keyBeingSit", SDLK_g, "Sit"}
+ {"keyBeingSit", SDLK_g, "Sit"},
+ {"keyShortcut0", SDLK_0, "Item Shortcut 0"},
+ {"keyShortcut1", SDLK_1, "Item Shortcut 1"},
+ {"keyShortcut2", SDLK_2, "Item Shortcut 2"},
+ {"keyShortcut3", SDLK_3, "Item Shortcut 3"},
+ {"keyShortcut4", SDLK_4, "Item Shortcut 4"},
+ {"keyShortcut5", SDLK_5, "Item Shortcut 5"},
+ {"keyShortcut6", SDLK_6, "Item Shortcut 6"},
+ {"keyShortcut7", SDLK_7, "Item Shortcut 7"},
+ {"keyShortcut8", SDLK_8, "Item Shortcut 8"},
+ {"keyShortcut9", SDLK_9, "Item Shortcut 9"}
};
void KeyboardConfig::init()