diff options
Diffstat (limited to 'src/doomkeys.h')
-rw-r--r-- | src/doomkeys.h | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/src/doomkeys.h b/src/doomkeys.h index 170d8c50..3db17a6d 100644 --- a/src/doomkeys.h +++ b/src/doomkeys.h @@ -69,34 +69,31 @@ #define KEY_CAPSLOCK (0x80+0x3a) #define KEY_SCRLCK (0x80+0x46) -#define KEYP_0 (0x80+0x52) -#define KEYP_1 (0x80+0x4F) -#define KEYP_2 (0x80+0x50) -#define KEYP_3 (0x80+0x41) -#define KEYP_4 (0x80+0x4B) -#define KEYP_5 (0x80+0x4C) -#define KEYP_6 (0x80+0x4D) -#define KEYP_7 (0x80+0x47) -#define KEYP_8 (0x80+0x48) -#define KEYP_9 (0x80+0x49) - #define KEY_HOME (0x80+0x47) #define KEY_END (0x80+0x4f) #define KEY_PGUP (0x80+0x49) #define KEY_PGDN (0x80+0x51) #define KEY_INS (0x80+0x52) #define KEY_DEL (0x80+0x53) -#define KEYP_UPARROW KEY_UPARROW -#define KEYP_DOWNARROW KEY_DOWNARROW -#define KEYP_LEFTARROW KEY_LEFTARROW -#define KEYP_RIGHTARROW KEY_RIGHTARROW -#define KEYP_MULTIPLY '*' -#define KEYP_PLUS '+' -#define KEYP_MINUS '-' -#define KEYP_DIVIDE '/' - +#define KEYP_0 0 +#define KEYP_1 KEY_END +#define KEYP_2 KEY_DOWNARROW +#define KEYP_3 KEY_PGDN +#define KEYP_4 KEY_LEFTARROW +#define KEYP_5 '5' +#define KEYP_6 KEY_RIGHTARROW +#define KEYP_7 KEY_HOME +#define KEYP_8 KEY_UPARROW +#define KEYP_9 KEY_PGUP +#define KEYP_DIVIDE '/' +#define KEYP_PLUS '+' +#define KEYP_MINUS '-' +#define KEYP_MULTIPLY '*' +#define KEYP_PERIOD 0 +#define KEYP_EQUALS KEY_EQUALS +#define KEYP_ENTER KEY_ENTER #endif // __DOOMKEYS__ |