Fix DirectInput D-Pad handling.

This commit is contained in:
Billiard26 2012-05-02 06:31:38 +00:00
parent beb4204bbb
commit 1974938c5a
1 changed files with 1 additions and 1 deletions

View File

@ -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