Commit 6b1b5211 authored by Ivo Ivanov's avatar Ivo Ivanov Committed by Alexandre Julliard

dinput: Remove redundant physical range values.

The physical range is not correct for the given usage. Signed-off-by: 's avatarIvo Ivanov <logos128@gmail.com>
parent 29894e1c
...@@ -1845,8 +1845,6 @@ static BOOL init_pid_caps( struct hid_joystick *impl, struct hid_value_caps *cap ...@@ -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) if (instance->wCollectionNumber == effect_update->axes_coll)
{ {
SET_REPORT_ID( effect_update ); 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" ); if (effect_update->axis_count >= 6) FIXME( "more than 6 PID axes detected\n" );
else effect_update->axis_caps[effect_update->axis_count] = caps; else effect_update->axis_caps[effect_update->axis_count] = caps;
effect_update->axis_count++; effect_update->axis_count++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment