commit | a36538f7938cc56bb9e4d27841dc3070a5de6a88 | [log] [tgz] |
---|---|---|
author | Chung-yih Wang <cywang@chromium.org> | Fri Dec 16 08:09:01 2011 |
committer | Chung-yih Wang <cywang@chromium.org> | Fri Dec 16 08:22:38 2011 |
tree | 53a82ceb20e83178fe27ac94875ee24be11c5482 | |
parent | ca4321953cae651eba78ef3aeaae8666b02df52f [diff] |
Add semi-mt support. Kernel drivers for 'semi-mt' devices, such as the Synaptics profile sensor, do not provide a pressure value with their semi-mt slots. Instead, they report a single pressure value via ABS_PRESSURE. So, if the device's INPUT_PROP_SEMI_MT bit is set we use the ABS_PRESSURE value to set the height/width of all plotted circles. BUG=chromium-os:24277 TEST=mtplot And see if the touch events could be drawn on Cr-48. Change-Id: I4c3d564fc7fd902b7cdae0ac5850730f07ffde86