From 104266da0f92ab2a765598dde59bf2e7f6426484 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 9 Oct 2009 23:27:51 +0300 Subject: Show first key binding conflict --- src/keyboardconfig.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/keyboardconfig.h') diff --git a/src/keyboardconfig.h b/src/keyboardconfig.h index b6a07f16..c6d0b723 100644 --- a/src/keyboardconfig.h +++ b/src/keyboardconfig.h @@ -139,6 +139,9 @@ class KeyboardConfig */ void refreshActiveKeys(); + std::string getBindError() + { return mBindError; } + /** * All the key functions. * KEY_NO_VALUE is used in initialization, and should be unchanged. @@ -225,6 +228,8 @@ class KeyboardConfig KeyFunction mKey[KEY_TOTAL]; /**< Pointer to all the key data */ Uint8 *mActiveKeys; /**< Stores a list of all the keys */ + + std::string mBindError; }; extern KeyboardConfig keyboard; -- cgit v1.2.3-70-g09d2