diff options
author | Jun Yan <juyan@nvidia.com> | 2013-09-04 18:53:33 -0700 |
---|---|---|
committer | Harshada Kale <hkale@nvidia.com> | 2013-09-24 03:15:55 -0700 |
commit | d3190ce4a98341f5a56c06c95265628c31104fb4 (patch) | |
tree | 2862578080f52e332ba2fcf437b2b19e46250fe6 /drivers | |
parent | 047024eda0ce5f88ccb402ec02b6d85cae3e208b (diff) |
hid: hid-input: decrease hid joystick fuzz value
Decrease hid fuzz value to range/1024 to enable
better joystick axis granularity on Linux/Android.
Bug 1358167
Change-Id: Ib8713bdbe1f1edaa0e963d8472afbe30b6afe909
Signed-off-by: Jun Yan <juyan@nvidia.com>
Reviewed-on: http://git-master/r/276540
Reviewed-by: Anshul Jain (SW) <anshulj@nvidia.com>
GVS: Gerrit_Virtual_Submit
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hid/hid-input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index 43669731afc9..cceca0168c16 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c @@ -882,7 +882,7 @@ mapped: } if (field->application == HID_GD_GAMEPAD || field->application == HID_GD_JOYSTICK) - input_set_abs_params(input, usage->code, a, b, (b - a) >> 8, (b - a) >> 4); + input_set_abs_params(input, usage->code, a, b, (b - a) >> 10, (b - a) >> 4); else input_set_abs_params(input, usage->code, a, b, 0, 0); input_abs_set_res(input, usage->code, |