From 1ce3f20fa49830fee1a03d1682214dda81e8548a Mon Sep 17 00:00:00 2001 From: inmarket Date: Sun, 12 Apr 2015 17:07:38 +1000 Subject: Add GWIN virtual keyboard widget --- src/ginput/ginput_keyboard.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/ginput') 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) -- cgit v1.2.3