This same driver can be used by atmel based touchscreens and touchpads (buttonpads). Platform data may specify a device is a touchpad using the is_tp flag. This will cause the driver to perform some touchpad specific initializations, such as: * register input device name "Atmel maXTouch Touchpad" instead of Touchscreen. * register BTN_LEFT & BTN_TOOL_* event types. * register axis resolution (as a fixed constant, for now) * register BUTTONPAD property * process GPIO buttons using reportid T19 Input event GPIO mapping is done by the platform data key_map array. key_map[x] should contain the KEY or BTN code to send when processing GPIOx from T19. To specify a GPIO as not an input source, populate with KEY_RESERVED, or 0. Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Benson Leung <bleung@chromium.org> Signed-off-by: Nick Dyer <nick.dyer@itdev.co.uk> Tested-by: Olof Johansson <olof@lixom.net> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
|---|---|---|
| .. | ||
| adp5588.h | ||
| adp8860.h | ||
| adp8870.h | ||
| ads1015.h | ||
| apds990x.h | ||
| at24.h | ||
| atmel_mxt_ts.h | ||
| bh1770glc.h | ||
| dm355evm_msp.h | ||
| ds620.h | ||
| i2c-hid.h | ||
| i2c-rcar.h | ||
| i2c-sh_mobile.h | ||
| lm8323.h | ||
| ltc4245.h | ||
| max732x.h | ||
| max6639.h | ||
| mcs.h | ||
| mms114.h | ||
| mpr121_touchkey.h | ||
| pca953x.h | ||
| pca954x.h | ||
| pcf857x.h | ||
| pmbus.h | ||
| pxa-i2c.h | ||
| s6000.h | ||
| sx150x.h | ||
| tc35876x.h | ||
| tps65010.h | ||
| tsc2007.h | ||
| twl.h | ||
| twl4030-madc.h | ||