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> |
||
---|---|---|
.. | ||
ad714x.h | ||
adp5589.h | ||
adxl34x.h | ||
as5011.h | ||
bu21013.h | ||
cma3000.h | ||
cy8ctmg110_pdata.h | ||
eeti_ts.h | ||
gpio_tilt.h | ||
kxtj9.h | ||
matrix_keypad.h | ||
mt.h | ||
pmic8xxx-keypad.h | ||
pmic8xxx-pwrkey.h | ||
samsung-keypad.h | ||
sh_keysc.h | ||
sparse-keymap.h | ||
tca8418_keypad.h | ||
tps6507x-ts.h |