commit | 037f727f49ddf4f5575f6440799261bd1289eb6e | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Mon Jun 25 17:31:23 2012 -0700 |
committer | Jeff Brown <jeffbrown@google.com> | Mon Jun 25 17:35:13 2012 -0700 |
tree | 441322056e00250bb770b07b1a3ffd7812180aa6 | |
parent | 88c997a5abb3b2b2df1fb17fa3af40b34fbdd590 [diff] |
Improve handling of size and orientation. Some touch device drivers report the range of ABS_MT_ORIENTATION as [0,1]. The Linux multitouch protocol spec says that the 0 value should always be considered vertical. Add a new 'box' calibration mode for size to handle the case where width and height are being provided. The 'diameter' calibration mode is inadequate because it drops one of these components. Change-Id: I7bd744fdff95acd4044d295efe8bd7186dbe8061