From a5968b9cb663b23c58e98ff3c7c3ae2f321ea6e7 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 25 Aug 2008 05:30:28 +0000 Subject: [PATCH] Missing keysym defines --- include/SDL_compat.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/SDL_compat.h b/include/SDL_compat.h index 0d47420a2..620b0189c 100644 --- a/include/SDL_compat.h +++ b/include/SDL_compat.h @@ -133,6 +133,16 @@ struct SDL_SysWMinfo; /* Obsolete or renamed key codes */ /* These key constants were renamed for clarity or consistency. */ +#define SDLK_0 '0' +#define SDLK_1 '1' +#define SDLK_2 '2' +#define SDLK_3 '3' +#define SDLK_4 '4' +#define SDLK_5 '5' +#define SDLK_6 '6' +#define SDLK_7 '7' +#define SDLK_8 '8' +#define SDLK_9 '9' #define SDLK_a 'a' #define SDLK_b 'b' #define SDLK_c 'c'