wrong version

This commit is contained in:
Adam D. Ruppe 2017-10-27 11:55:33 -04:00
parent 8616028534
commit ed61b3ce0b
5 changed files with 45 additions and 8 deletions

View file

@ -198,7 +198,7 @@ version(linux) {
joystickMapping[player] = &xbox360Mapping;
}
} else if(event.number == 6) {
if(event.value == 32767 && joystickMapping[player] is null) {
if((event.value == 32767 || event.value == -32767) && joystickMapping[player] is null) {
joystickMapping[player] = &ps1Mapping;
}
}