diff options
author | Heiko Stübner <heiko@sntech.de> | 2011-11-29 20:04:09 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2011-12-01 08:41:16 +0100 |
commit | 3bfd5c5baf66e975b0f365a0cda8d75bf2953ebe (patch) | |
tree | 49517da40dd6071ed9d3acde9fa1ef97d39ede13 /drivers/input/input.c | |
parent | Input: remove redundant spi driver bus initialization (diff) | |
download | linux-3bfd5c5baf66e975b0f365a0cda8d75bf2953ebe.tar.xz linux-3bfd5c5baf66e975b0f365a0cda8d75bf2953ebe.zip |
Input: add generic GPIO-tilt driver
There exist tilt switches that simply report their tilt-state via
some gpios. The number and orientation of their axes can vary
depending on the switch used and the build of the device. Also two
or more one-axis switches could be combined to provide multi-dimensional
orientation.
One example of a device using such a switch is the family of Qisda
ebook readers, where the switch provides information about the
landscape / portrait orientation of the device. The example in
Documentation/input/gpio-tilt.txt documents exactly this one-axis
device.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/input.c')
0 files changed, 0 insertions, 0 deletions