Fix #7940 (analog test screen). "Debounce" doubleclicks.

This commit is contained in:
Henrik Rydgard
2015-09-07 22:27:29 +02:00
parent dbf53ab584
commit 53e80d7f54
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -433,6 +433,7 @@ bool AnalogTestScreen::key(const KeyInput &key) {
}
bool AnalogTestScreen::axis(const AxisInput &axis) {
UIScreen::axis(axis);
// This is mainly to catch axis events that would otherwise get translated
// into arrow keys, since seeing keyboard arrow key events appear when using
// a controller would be confusing for the user.