From 4326430856f19f1d88c1725a68c77e8c0420008e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Paku=C5=82a?= Date: Fri, 16 Aug 2024 17:01:11 +0200 Subject: [PATCH] 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. --- hid-pidff-wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hid-pidff-wrapper.c b/hid-pidff-wrapper.c index 4770261..dd6ddfb 100644 --- a/hid-pidff-wrapper.c +++ b/hid-pidff-wrapper.c @@ -135,7 +135,7 @@ static int universal_pidff_input_configured(struct hid_device *hdev, input_set_abs_params(input, axis, input->absinfo[axis].minimum, - input->absinfo[axis].maximum, 8, 16); + input->absinfo[axis].maximum, 8, 0); } }