diff options
author | Stijn Buys <ingar@osirion.org> | 2008-10-12 14:55:10 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-10-12 14:55:10 +0000 |
commit | b417df720584c101f3799874a0c836a543a8d0a8 (patch) | |
tree | fb7105ed662f13753a6ab8d3efb047bad04f2316 /src/client/keyboard.h | |
parent | 18383a5fc596bf9546f14d7393ee66c57720b116 (diff) |
user interface updates, work-in-progress
Diffstat (limited to 'src/client/keyboard.h')
-rw-r--r-- | src/client/keyboard.h | 8 |
1 files changed, 4 insertions, 4 deletions
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); } |