Set flat value to 0 for additional axes

Flat value (deadzone) works around the center of
a given axis. With steering wheels, only steering axis returns to the center and flat
causes weird behavior in the middle of throttle,
brake, clutch etc.
This commit is contained in:
Tomasz Pakuła
2024-08-16 17:01:11 +02:00
committed by Makarenko Oleg
parent 3932a51126
commit 4326430856

View File

@@ -135,7 +135,7 @@ static int universal_pidff_input_configured(struct hid_device *hdev,
input_set_abs_params(input, axis, input_set_abs_params(input, axis,
input->absinfo[axis].minimum, input->absinfo[axis].minimum,
input->absinfo[axis].maximum, 8, 16); input->absinfo[axis].maximum, 8, 0);
} }
} }