dinput: Fix HID joystick set_ramp_force end_caps lookup.
Signed-off-by: Ivo Ivanov <logos128@gmail.com> Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
eb2e52a9d5
commit
fbd7356232
|
@ -1679,7 +1679,7 @@ static BOOL init_pid_caps( struct hid_joystick *impl, struct hid_value_caps *cap
|
|||
{
|
||||
caps->physical_min = -10000;
|
||||
caps->physical_max = 10000;
|
||||
set_ramp_force->start_caps = caps;
|
||||
set_ramp_force->end_caps = caps;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue