diff options
Diffstat (limited to 'src/client/keyboard.h')
-rw-r--r-- | src/client/keyboard.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/keyboard.h b/src/client/keyboard.h index 10953c9..6805818 100644 --- a/src/client/keyboard.h +++ b/src/client/keyboard.h @@ -11,8 +11,8 @@ namespace client { -/// convert SDL_keysym to an ascii character -char keysym_to_char(const SDL_keysym &keysym); +/// convert SDL_keysym to a keystroke +int translate_keysym(const SDL_keysym &keysym); /// set the keyboard input mode /** @param input true for console input, false for game input |