Skip to content
Commit 816cbfda authored by Diogo Kastrup's avatar Diogo Kastrup Committed by Jiri Kosina
Browse files

HID: fix autocentering of PID devices



When setting the autocentering of PID devices, PID_DIRECTION_ENABLE is not
being explicitely set to 1. This results in autocentering working only on the
vertical axis when this field is preset to 0.

Fix that by setting it explicitely to 1 when preparing the set_effect report
for autocentering spring effect.

Signed-off-by: default avatarDiogo Kastrup <dk@bighost.com.br>
Signed-off-by: default avatarAnssi Hannula <anssi.hannula@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent ea9a4a8b
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