mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Add "full analog surface" support in DInput,OSX,SDL backends. (should not be needed for XInput)
This commit is contained in:
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user