Input: rotary-encoder - add support for half-period encoders
authorJohan Hovold <jhovold@gmail.com>
Wed, 11 May 2011 23:35:30 +0000 (16:35 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 12 May 2011 15:28:47 +0000 (08:28 -0700)
commite70bdd41bd0ead91b4a43e9d656ac1569d7c8779
tree9518f22417dde4f2b2d2ed3a25af8bc8f4e3814c
parent521a8f5cb79d1017d00d26143227159674e3b79d
Input: rotary-encoder - add support for half-period encoders

Add support for encoders that have two detents per input signal period.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Documentation/input/rotary-encoder.txt
drivers/input/misc/rotary_encoder.c
include/linux/rotary_encoder.h