From c24ffcb6ef2ddf5531fecda780b7a0bc270ab5af Mon Sep 17 00:00:00 2001 From: Chips Date: Mon, 16 May 2016 21:26:27 +0000 Subject: [PATCH] Remove some spurious simulated key press... --- src/od-pandora/pandora.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/od-pandora/pandora.cpp b/src/od-pandora/pandora.cpp index c0e83fbc..9dae4de1 100644 --- a/src/od-pandora/pandora.cpp +++ b/src/od-pandora/pandora.cpp @@ -888,6 +888,7 @@ void handle_events (void) case SDL_KEYDOWN: if(rEvent.key.keysym.sym==SDLK_PAGEUP) slow_mouse=true; +#ifdef PANDORA_SPECIFIC if(currprefs.pandora_custom_dpad == 1) // dPad as mouse, why these emulation of key presses? { if(rEvent.key.keysym.sym==SDLK_RSHIFT) @@ -906,7 +907,7 @@ void handle_events (void) record_key(AK_DN << 1); } } - +#endif if (rEvent.key.keysym.sym==SDLK_F11) { // state moves thus: