input: tizen_detent: Change event value of the detent device accepted/tizen_5.5_unified accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20200324.134448 accepted/tizen/5.5/unified/wearable/hotfix/20201027.092005 submit/tizen_5.5/20200323.012542 submit/tizen_5.5_wearable_hotfix/20201026.1843010 submit/tizen_5.5_wearable_hotfix/20201027.114701
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 3 Jan 2020 08:36:16 +0000 (17:36 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 23 Mar 2020 01:14:16 +0000 (10:14 +0900)
commit175a2e019fb805f66a87ca87023f0e2c355374e1
tree4314623c6923fc7914951ab06a1e34d641573105
parent31fd3809f4460b5ff4c2a013970566dbdb95f8da
input: tizen_detent: Change event value of the detent device

Until Tizen 5.0, for detent/bezel input device, its event value
was in between -2 and 2, but value 1, meant starting movement to
counter clockwise or clockwise, and value -1, meant moving back
to original position, never used. Change event value of the
detent/bezel device for Tizen 5.5 and later version.

It changes detent/bezel input driver event interface, so user
input framework for detent/bezel input should be also changed.

Ref: https://review.tizen.org/gerrit/#/c/profile/wearable/platform/kernel/linux-4.9-exynos9110/+/220495/
Ref: https://review.tizen.org/gerrit/#/c/platform/upstream/enlightenment/+/220346/

Change-Id: I6142ba278611fae2f41472ca98fcfbd928ee9a93
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/input/misc/tizen_detent.c