From b417df720584c101f3799874a0c836a543a8d0a8 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 12 Oct 2008 14:55:10 +0000 Subject: user interface updates, work-in-progress --- src/client/keyboard.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client/keyboard.h') diff --git a/src/client/keyboard.h b/src/client/keyboard.h index 87a67c4..f63bce1 100644 --- a/src/client/keyboard.h +++ b/src/client/keyboard.h @@ -69,6 +69,9 @@ public: inline iterator end() { return keys.end(); } + /// convert SDL_keysym to a keystroke + static unsigned int translate_keysym(int keysym, int modifier); + private: Key *add_key(const char *name, const unsigned int keysym, const char ascii=0, const char *bind=0); @@ -81,13 +84,10 @@ private: bool capslock; }; -/// convert SDL_keysym to a keystroke -unsigned int translate_keysym(int keysym, int modifier); - /// set the keyboard input mode /** @param input true for console input, false for game input */ -void setkeyboardmode(bool input); +//void setkeyboardmode(bool input); } -- cgit v1.2.3