From 517c195568133f37635eb831b3f70bc09b58c79d Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Sat, 6 Aug 2011 14:19:28 -0700 Subject: [PATCH] Add extra key defs for mingw. --- Sources/Plasma/NucleusLib/pnInputCore/plKeyDef.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Sources/Plasma/NucleusLib/pnInputCore/plKeyDef.h b/Sources/Plasma/NucleusLib/pnInputCore/plKeyDef.h index cd99c479..3acc52ec 100644 --- a/Sources/Plasma/NucleusLib/pnInputCore/plKeyDef.h +++ b/Sources/Plasma/NucleusLib/pnInputCore/plKeyDef.h @@ -33,6 +33,20 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com #include #define VK_BACK_QUOTE 0xc0 +// MinGW is missing these definitions: +#ifndef VK_OEM_PLUS +#define VK_OEM_PLUS 0xBB +#endif +#ifndef VK_OEM_COMMA +#define VK_OEM_COMMA 0xBC +#endif +#ifndef VK_OEM_MINUS +#define VK_OEM_MINUS 0xBD +#endif +#ifndef VK_OEM_PERIOD +#define VK_OEM_PERIOD 0xBE +#endif + // // keyboard definitions: //