From: H Hartley Sweeten Date: Sat, 18 Apr 2009 03:12:35 +0000 (-0700) Subject: Input: rotary_encoder - add support for REL_* axes X-Git-Tag: v2.6.31-rc1~100^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd3ce6556072bdc8ea66dfd5448e184f189bdc7f;p=pandora-kernel.git 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 Signed-off-by: Daniel Mack Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed