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:
Ivo Ivanov 2021-11-12 09:49:41 +01:00 committed by Alexandre Julliard
parent eb2e52a9d5
commit fbd7356232
1 changed files with 1 additions and 1 deletions

View File

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