>From b4866d32436e9b6bd9a9488eb5f998d196980e77 Mon Sep 17 00:00:00 2001 From: Remi Thebault Date: Sun, 25 Jan 2015 17:04:01 +0100 Subject: [PATCH 2/4 v2] input: introduce INPUT_NEEDS_ALTGR_FIX macro Common macro amoung all ui, to provide consistent alt gr fix. defined such as to have the fix on win32 (excluding wine) --- include/ui/input.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/ui/input.h b/include/ui/input.h index 5d5ac00..64e531c 100644 --- a/include/ui/input.h +++ b/include/ui/input.h @@ -10,6 +10,13 @@ #define INPUT_EVENT_ABS_SIZE 0x8000 +#ifndef INPUT_NEEDS_ALTGR_FIX +# if defined(_WIN32) && !defined(__WINE__) +# define INPUT_NEEDS_ALTGR_FIX 1 +# endif +#endif + + typedef struct QemuInputHandler QemuInputHandler; typedef struct QemuInputHandlerState QemuInputHandlerState; -- 1.8.5.2.msysgit.0