Module: wine Branch: master Commit: 6b1b5211934aa9e5302de2bde19d018c8fb59a6b URL: https://gitlab.winehq.org/wine/wine/-/commit/6b1b5211934aa9e5302de2bde19d018...
Author: Ivo Ivanov logos128@gmail.com Date: Thu Aug 18 05:27:32 2022 +0300
dinput: Remove redundant physical range values.
The physical range is not correct for the given usage.
Signed-off-by: Ivo Ivanov logos128@gmail.com
---
dlls/dinput/joystick_hid.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/dlls/dinput/joystick_hid.c b/dlls/dinput/joystick_hid.c index 3ea15009d8f..2065fe429eb 100644 --- a/dlls/dinput/joystick_hid.c +++ b/dlls/dinput/joystick_hid.c @@ -1845,8 +1845,6 @@ static BOOL init_pid_caps( struct hid_joystick *impl, struct hid_value_caps *cap if (instance->wCollectionNumber == effect_update->axes_coll) { SET_REPORT_ID( effect_update ); - caps->physical_min = 0; - caps->physical_max = 36000; if (effect_update->axis_count >= 6) FIXME( "more than 6 PID axes detected\n" ); else effect_update->axis_caps[effect_update->axis_count] = caps; effect_update->axis_count++;