mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-22 17:29:18 +01:00
Fixed Up-Left DPad direction for DS4 output device
This commit is contained in:
parent
7ff7fb10d1
commit
90045f7f50
@ -36,13 +36,14 @@ namespace DS4Windows
|
||||
if (state.Options) tempButtons |= DualShock4Buttons.Options;
|
||||
|
||||
if (state.DpadUp && state.DpadRight) tempDPad = DualShock4DPadValues.Northeast;
|
||||
else if (state.DpadUp && state.DpadLeft) tempDPad = DualShock4DPadValues.Northwest;
|
||||
else if (state.DpadUp) tempDPad = DualShock4DPadValues.North;
|
||||
else if (state.DpadRight && state.DpadDown) tempDPad = DualShock4DPadValues.Southeast;
|
||||
else if (state.DpadRight) tempDPad = DualShock4DPadValues.East;
|
||||
else if (state.DpadDown && state.DpadLeft) tempDPad = DualShock4DPadValues.Southwest;
|
||||
else if (state.DpadDown) tempDPad = DualShock4DPadValues.South;
|
||||
else if (state.DpadLeft && state.DpadUp) tempDPad = DualShock4DPadValues.Northwest;
|
||||
else if (state.DpadLeft) tempDPad = DualShock4DPadValues.West;
|
||||
|
||||
/*if (state.DpadUp) tempDPad = (state.DpadRight) ? DualShock4DPadValues.Northeast : DualShock4DPadValues.North;
|
||||
if (state.DpadRight) tempDPad = (state.DpadDown) ? DualShock4DPadValues.Southeast : DualShock4DPadValues.East;
|
||||
if (state.DpadDown) tempDPad = (state.DpadLeft) ? DualShock4DPadValues.Southwest : DualShock4DPadValues.South;
|
||||
|
Loading…
Reference in New Issue
Block a user