From 82c06412ef39522c4deab457ce7a3e78160d8a19 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Fri, 22 Feb 2008 22:36:23 +0000 Subject: keypad and numlock support --- src/client/keyboard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/keyboard.h') 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 -- cgit v1.2.3