diff --git a/Source/Plugins/Plugin_GCPad/Src/GCPad.cpp b/Source/Plugins/Plugin_GCPad/Src/GCPad.cpp index bf417abf5b..f2446c07d8 100644 --- a/Source/Plugins/Plugin_GCPad/Src/GCPad.cpp +++ b/Source/Plugins/Plugin_GCPad/Src/GCPad.cpp @@ -583,11 +583,13 @@ bool IsKey(int Key) int Ret = NULL; int MapKey = GCMapping[g_ID].Button[Key]; +#ifdef _WIN32 if (MapKey < 256) { -#ifdef _WIN32 Ret = GetAsyncKeyState(MapKey); // Keyboard (Windows) #else + if (MapKey < 256 || MapKey > 0xf000) + { Ret = KeyStatus[Key]; // Keyboard (Linux) #endif }