From abe24d1c3682e0ffb48b7dd9291a59a8af0bd1b9 Mon Sep 17 00:00:00 2001 From: Maarten ter Huurne Date: Tue, 30 Sep 2008 22:11:20 +0000 Subject: [PATCH] Fixed compilation on Linux, as instructed by shuffle2. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@736 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp b/Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp index adb7ef4e8e..ccba85dcdf 100644 --- a/Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp +++ b/Source/Plugins/Plugin_PadSimple/Src/PadSimple.cpp @@ -383,7 +383,7 @@ void X11_Read(int _numPAD, SPADStatus* _pPADStatus) int num_events; for (num_events = XPending(GXdsp);num_events > 0;num_events--) { XNextEvent(GXdsp, &E); - switch (E.keyboard) { + switch (E.type) { case KeyPress: //_KeyPress(pad, XLookupKeysym((XKeyEvent *)&E, 0)); break;