Add "full analog surface" support in DInput,OSX,SDL backends. (should not be needed for XInput)

This commit is contained in:
Jordan Woyak
2013-01-17 15:41:18 -06:00
parent 38b01d176a
commit f97d2a93c4
3 changed files with 6 additions and 6 deletions

View File

@ -267,8 +267,8 @@ Joystick::Joystick( /*const LPCDIDEVICEINSTANCE lpddi, */const LPDIRECTINPUTDEVI
const LONG& ax = (&m_state_in.lX)[offset];
// each axis gets a negative and a positive input instance associated with it
AddInput(new Axis(offset, ax, base, range.lMin-base));
AddInput(new Axis(offset, ax, base, range.lMax-base));
AddAnalogInputs(new Axis(offset, ax, base, range.lMin-base),
new Axis(offset, ax, base, range.lMax-base));
}
}