diff options
Diffstat (limited to 'src/ginput')
-rw-r--r-- | src/ginput/ginput_keyboard.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ginput/ginput_keyboard.h b/src/ginput/ginput_keyboard.h index ea218af7..1349092f 100644 --- a/src/ginput/ginput_keyboard.h +++ b/src/ginput/ginput_keyboard.h @@ -17,7 +17,7 @@ #ifndef _GINPUT_KEYBOARD_H #define _GINPUT_KEYBOARD_H -#if GINPUT_NEED_KEYBOARD || defined(__DOXYGEN__) +#if GINPUT_NEED_KEYBOARD || GWIN_NEED_KEYBOARD || defined(__DOXYGEN__) /*===========================================================================*/ /* Type definitions */ @@ -164,6 +164,10 @@ typedef struct GEventKeyboard_t { #define GLISTEN_KEYTRANSITIONS 0x0008 // Return transitions to the key state #define GLISTEN_KEYRAW 0x0010 // Return raw scan-codes. This turns off normal character processing. +#endif + +#if GINPUT_NEED_KEYBOARD || defined(__DOXYGEN__) + // All keyboards #define GKEYBOARD_ALL_INSTANCES ((unsigned)-1) |