diff options
author | inmarket <andrewh@inmarket.com.au> | 2015-04-12 17:07:38 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2015-04-12 17:07:38 +1000 |
commit | 1ce3f20fa49830fee1a03d1682214dda81e8548a (patch) | |
tree | 9342474d224298087a57d94a644d6b793181df17 /src/ginput | |
parent | b04148ca2ba1d31a333473459ccca3ea056e43b2 (diff) | |
download | uGFX-1ce3f20fa49830fee1a03d1682214dda81e8548a.tar.gz uGFX-1ce3f20fa49830fee1a03d1682214dda81e8548a.tar.bz2 uGFX-1ce3f20fa49830fee1a03d1682214dda81e8548a.zip |
Add GWIN virtual keyboard widget
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) |