POV diagonals now work correctly.

This commit is contained in:
luigi__ 2009-02-10 22:16:18 +00:00
parent 4b4b307f0e
commit c9bf594a3f
1 changed files with 2132 additions and 2124 deletions

View File

@ -617,16 +617,24 @@ void S9xUpdateJoyState()
Joystick[C].PovDown = true;
break;
case 4500:
Joystick[C].PovUpRight = true;
//Joystick[C].PovUpRight = true;
Joystick[C].PovUp = true;
Joystick[C].PovRight = true;
break;
case 13500:
Joystick[C].PovDnRight = true;
//Joystick[C].PovDnRight = true;
Joystick[C].PovDown = true;
Joystick[C].PovRight = true;
break;
case 22500:
Joystick[C].PovDnLeft = true;
//Joystick[C].PovDnLeft = true;
Joystick[C].PovDown = true;
Joystick[C].PovLeft = true;
break;
case 31500:
Joystick[C].PovUpLeft = true;
//Joystick[C].PovUpLeft = true;
Joystick[C].PovUp = true;
Joystick[C].PovLeft = true;
break;
case JOY_POVFORWARD: