diff --git a/plugins/onepad/keyboard.cpp b/plugins/onepad/keyboard.cpp index 572f2c621e..75cc3d318e 100644 --- a/plugins/onepad/keyboard.cpp +++ b/plugins/onepad/keyboard.cpp @@ -152,7 +152,8 @@ static void AnalyzeKeyEvent(keyEvent &evt) } } - PressButton(pad, index); + if (index != -1) + PressButton(pad, index); //PAD_LOG("Key pressed:%d\n", index);