summaryrefslogtreecommitdiff
path: root/src/keydata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-19 23:48:29 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-19 23:48:29 +0300
commit0b7e752bd177c90a05ca752fa31810f9e34c432c (patch)
treedb1809a48faf051af11c94058e8f126c9e9ef1ab /src/keydata.h
parent23f87c10db7e6b149e9e1f351e1a82516c545df7 (diff)
downloadmv-0b7e752bd177c90a05ca752fa31810f9e34c432c.tar.gz
mv-0b7e752bd177c90a05ca752fa31810f9e34c432c.tar.bz2
mv-0b7e752bd177c90a05ca752fa31810f9e34c432c.tar.xz
mv-0b7e752bd177c90a05ca752fa31810f9e34c432c.zip
Dehardcode keys in gui widgets.
Add new tab with keys settings in input settings tab.
Diffstat (limited to 'src/keydata.h')
-rw-r--r--src/keydata.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/src/keydata.h b/src/keydata.h
index 39b2de69c..d9d584a6b 100644
--- a/src/keydata.h
+++ b/src/keydata.h
@@ -52,7 +52,8 @@ namespace Input
GRP_EMOTION = 4, // emotions key
GRP_OUTFIT = 8, // outfit key
GRP_GUI = 16, // gui key
- GRP_MOVETOPOINT = 32 // move to point key
+ GRP_MOVETOPOINT = 32, // move to point key
+ GRP_GUICHAN = 64 // for guichan based controls
};
/**
@@ -290,8 +291,6 @@ namespace Input
KEY_CLOSE_CHAT_TAB,
KEY_CHAT_PREV_HISTORY,
KEY_CHAT_NEXT_HISTORY,
- KEY_AUTOCOMPLETE_CHAT,
- KEY_DEACTIVATE_CHAT,
KEY_IGNORE_INPUT_1,
KEY_IGNORE_INPUT_2,
KEY_DIRECT_UP,
@@ -319,6 +318,22 @@ namespace Input
KEY_RIGHT_CLICK,
KEY_CAMERA,
KEY_MOD,
+ KEY_GUI_UP,
+ KEY_GUI_DOWN,
+ KEY_GUI_LEFT,
+ KEY_GUI_RIGHT,
+ KEY_GUI_SELECT,
+ KEY_GUI_SELECT2,
+ KEY_GUI_CANCEL,
+ KEY_GUI_HOME,
+ KEY_GUI_END,
+ KEY_GUI_DELETE,
+ KEY_GUI_BACKSPACE,
+ KEY_GUI_TAB,
+ KEY_GUI_PAGE_UP,
+ KEY_GUI_PAGE_DOWN,
+ KEY_GUI_INSERT,
+ KEY_GUI_MOD,
KEY_TOTAL
};
}