From a9af374be605cb56963063223eebfc27ed0690b7 Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sun, 1 Nov 2015 10:32:56 +0100 Subject: [PATCH] onepad: don't touch autorepeat setup When X autorepeat is enabled, it will generate down/up, down/up, ... sequences So it was decided to disable it. Unfortunately the configuration is for the full system which is very annoying (state isn't restored after an ASSERT or EXCEPTION) Initially the plugin handles the event from the X loop. However since the GSopen2 switch events are already intercepted by the WX core GUI. The core will route them back to the input plugin. Wx filters automatically generated event so initial sequence is now down, down, down/up. No more autorepeat issue, so no need to screw up the system. Close #945 --- plugins/onepad/onepad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/onepad/onepad.cpp b/plugins/onepad/onepad.cpp index 91d796ff39..0e015e8827 100644 --- a/plugins/onepad/onepad.cpp +++ b/plugins/onepad/onepad.cpp @@ -43,7 +43,7 @@ keyEvent event; static keyEvent s_event; std::string s_strIniPath("inis/"); std::string s_strLogPath("logs/"); -bool toggleAutoRepeat = true; +bool toggleAutoRepeat = false; const u32 version = PS2E_PAD_VERSION; const u32 revision = 1;