diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2009-04-18 05:12:35 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-04-18 05:37:21 +0200 |
commit | bd3ce6556072bdc8ea66dfd5448e184f189bdc7f (patch) | |
tree | 264a0272647abe0ae4a7093abb3d6afc9b0a1bd2 /drivers/input/tablet | |
parent | Input: ads7846 - fix unsafe disable_irq (diff) | |
download | linux-bd3ce6556072bdc8ea66dfd5448e184f189bdc7f.tar.xz linux-bd3ce6556072bdc8ea66dfd5448e184f189bdc7f.zip |
Input: rotary_encoder - add support for REL_* axes
The rotary encoder driver only supports returning input events
for ABS_* axes, this adds support for REL_* axes. The relative
axis input event is reported as -1 for each counter-clockwise
step and +1 for each clockwise step.
The ability to clamp the position of ABS_* axes between 0 and
a maximum of "steps" has also been added.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/tablet')
0 files changed, 0 insertions, 0 deletions