summaryrefslogtreecommitdiff
path: root/src/keyboardconfig.cpp
diff options
context:
space:
mode:
authorForge <jgrimbert@free.fr>2009-01-01 21:04:00 +0100
committerForge <jgrimbert@free.fr>2009-01-01 21:04:00 +0100
commitda857b4386d53bed713871f31f1b4e6b0851373f (patch)
treed7c573325b2303726f3f97ac563b1fc038b3606f /src/keyboardconfig.cpp
parent5576b9efc3f9fe63ecebeaa63d1e5951a3d8d2cf (diff)
downloadmana-da857b4386d53bed713871f31f1b4e6b0851373f.tar.gz
mana-da857b4386d53bed713871f31f1b4e6b0851373f.tar.bz2
mana-da857b4386d53bed713871f31f1b4e6b0851373f.tar.xz
mana-da857b4386d53bed713871f31f1b4e6b0851373f.zip
Customisable shortkey for smiley (defaulting to keypad 0-9/*)
First step to more smileys... Fully functionnal, very minor modifications Provisions made for second step (windows for choosing smiley) Signed-off-by: Forge <jgrimbert@free.fr>
Diffstat (limited to 'src/keyboardconfig.cpp')
-rw-r--r--src/keyboardconfig.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp
index ea40ff38..d23410bd 100644
--- a/src/keyboardconfig.cpp
+++ b/src/keyboardconfig.cpp
@@ -68,7 +68,21 @@ static KeyData const keyData[KeyboardConfig::KEY_TOTAL] = {
{"keyWindowChat", SDLK_F7, "Chat Window"},
{"keyWindowShortcut", SDLK_F8, "Item Shortcut Window"},
{"keyWindowSetup", SDLK_F9, "Setup Window"},
- {"keyWindowDebug", SDLK_F10, "Debug Window"}
+ {"keyWindowDebug", SDLK_F10, "Debug Window"},
+ {"keyWindowSmileyList", SDLK_F11, "Smiley List Window"},
+ {"keyWindowSmileyBar", SDLK_F12, "Smiley Shortcut Window"},
+ {"keySmileyShortcut1", SDLK_KP1, "Smiley Shortcut 1"},
+ {"keySmileyShortcut2", SDLK_KP2, "Smiley Shortcut 2"},
+ {"keySmileyShortcut3", SDLK_KP3, "Smiley Shortcut 3"},
+ {"keySmileyShortcut4", SDLK_KP4, "Smiley Shortcut 4"},
+ {"keySmileyShortcut5", SDLK_KP5, "Smiley Shortcut 5"},
+ {"keySmileyShortcut6", SDLK_KP6, "Smiley Shortcut 6"},
+ {"keySmileyShortcut7", SDLK_KP7, "Smiley Shortcut 7"},
+ {"keySmileyShortcut8", SDLK_KP8, "Smiley Shortcut 8"},
+ {"keySmileyShortcut9", SDLK_KP9, "Smiley Shortcut 9"},
+ {"keySmileyShortcut10", SDLK_KP0, "Smiley Shortcut 10"},
+ {"keySmileyShortcut11", SDLK_KP_DIVIDE, "Smiley Shortcut 11"},
+ {"keySmileyShortcut12", SDLK_KP_MULTIPLY, "Smiley Shortcut 12"}
};
void KeyboardConfig::init()