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
This commit is contained in:
Gregory Hainaut 2015-11-01 10:32:56 +01:00
parent 83549e6f61
commit a9af374be6
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ keyEvent event;
static keyEvent s_event; static keyEvent s_event;
std::string s_strIniPath("inis/"); std::string s_strIniPath("inis/");
std::string s_strLogPath("logs/"); std::string s_strLogPath("logs/");
bool toggleAutoRepeat = true; bool toggleAutoRepeat = false;
const u32 version = PS2E_PAD_VERSION; const u32 version = PS2E_PAD_VERSION;
const u32 revision = 1; const u32 revision = 1;