mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Fix DirectInput D-Pad handling.
This commit is contained in:
@ -241,7 +241,7 @@ Joystick::Joystick( /*const LPCDIDEVICEINSTANCE lpddi, */const LPDIRECTINPUTDEVI
|
||||
{
|
||||
// each hat gets 4 input instances associated with it, (up down left right)
|
||||
for (u8 d = 0; d != 4; ++d)
|
||||
AddInput(new Hat(i, m_state_in.rgdwPOV[m_index], d));
|
||||
AddInput(new Hat(i, m_state_in.rgdwPOV[i], d));
|
||||
}
|
||||
|
||||
// get up to 6 axes and 2 sliders
|
||||
|
Reference in New Issue
Block a user