summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoshua Langley <joshlangley[at]optusnet.com.au>2007-08-19 09:39:13 +0000
committerJoshua Langley <joshlangley[at]optusnet.com.au>2007-08-19 09:39:13 +0000
commit5d872d5c1fa52f629b07b24834b1c30db40068a8 (patch)
treef022210e82576c93886cff738cc21a4f4ac8e43c /src
parent7425393f7cb404e4fc09f9f7db4b0f9b951772f9 (diff)
downloadmana-5d872d5c1fa52f629b07b24834b1c30db40068a8.tar.gz
mana-5d872d5c1fa52f629b07b24834b1c30db40068a8.tar.bz2
mana-5d872d5c1fa52f629b07b24834b1c30db40068a8.tar.xz
mana-5d872d5c1fa52f629b07b24834b1c30db40068a8.zip
v0.0 - keyboard config, sit fixed.
Diffstat (limited to 'src')
-rw-r--r--src/keyboardconfig.cpp1
-rw-r--r--src/keyboardconfig.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/keyboardconfig.cpp b/src/keyboardconfig.cpp
index 047f576a..aea96942 100644
--- a/src/keyboardconfig.cpp
+++ b/src/keyboardconfig.cpp
@@ -36,6 +36,7 @@ struct KeyData
const char *caption;
};
+// keyData must be in same order as enum keyAction.
static KeyData const keyData[KeyboardConfig::KEY_TOTAL] = {
{"keyMoveUp", SDLK_UP, "Move Up"},
{"keyMoveDown", SDLK_DOWN, "Move Down"},
diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h
index 1a7d84b9..1f186ce1 100644
--- a/src/keyboardconfig.h
+++ b/src/keyboardconfig.h
@@ -154,8 +154,8 @@ class KeyboardConfig
KEY_TARGET,
KEY_TARGET_CLOSEST,
KEY_PICKUP,
- KEY_SIT,
KEY_HIDE_WINDOWS,
+ KEY_SIT,
KEY_TOTAL
};