1. 01 2月, 2011 1 次提交
    • P
      Input: wacom_w8001 - report resolution to userland · 28a1bc1c
      Ping Cheng 提交于
      Serial devices send both pen and touch data through the same logical
      port. Since we scaled touch to pen maximum, we use pen resolution
      for touch as well here.
      
      This is under the assumption that pen and touch share the same physical
      surface. In the case when a small physical dimensional difference occurs
      between pen and touch, we assume the tolerance for touch point precision
      is higher than pen and the difference is within touch point tolerance.
      
      A per-MT tool based resolution mechanism should be introduced if the
      above assumption does not hold true for the pen and touch devices any
      more.
      Signed-off-by: NPing Cheng <pingc@wacom.com>
      Reviewed-by: NHenrik Rydberg <rydberg@euromail.se>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      28a1bc1c
  2. 29 1月, 2011 4 次提交
  3. 26 1月, 2011 1 次提交
  4. 25 1月, 2011 2 次提交
  5. 21 1月, 2011 4 次提交
  6. 18 1月, 2011 5 次提交
  7. 12 1月, 2011 2 次提交
  8. 11 1月, 2011 3 次提交
  9. 08 1月, 2011 2 次提交
  10. 07 1月, 2011 6 次提交
  11. 30 12月, 2010 1 次提交
  12. 28 12月, 2010 4 次提交
  13. 23 12月, 2010 3 次提交
  14. 22 12月, 2010 2 次提交
    • H
      Input: synaptics - ignore bogus mt packet · 4f56ce92
      Henrik Rydberg 提交于
      In multitouch mode, at least one device (fw: 7.4 id: 0x1c0b1) sometimes
      sends a final main packet with x == 1. Since the normal values are above
      1472, this is clearly bogus. At the same time, a two-finger touch is
      signaled, even though only one finger was on the pad to begin with. This
      patch ignores the packet altogether, removing the problem.
      Acked-by: NChris Bagwell <chris@cnpbagwell.com>
      Acked-by: NChase Douglas <chase.douglas@canonical.com>
      Acked-by: NDmitry Torokhov <dtor@mail.ru>
      Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
      4f56ce92
    • H
      Input: synaptics - add multi-finger and semi-mt support · fec6e525
      Henrik Rydberg 提交于
      The Synaptics 2.7 series of touchpads support a mode for reporting two
      sets of X/Y/Pressure data (advanced gesture mode). By default, these
      devices report only single finger data, depriving userspace of the
      nowadays ubiquitous two-finger scroll gesture.
      
      Enabling advanced gesture mode also enables the multi-finger report,
      although the device does not claim that capability. Up to three
      fingers can be reported this way.
      
      While two or three fingers are touching, the normal packet is
      prepended by a reduced finger packet of lower resolution. From the two
      packets (which do not represent the actual fingers), the bounding
      rectangle of the individual contacts can be extracted.  This
      information is sufficient to perform scaling gestures and a limited
      form of rotation gesture. The behavior has been coined semi-mt
      capability, and is signaled to userspace via the INPUT_PROP_SEMI_MT
      device property.
      
      Work to decode the advanced gesture packet: Takashi Iwai.
      Cleanup and testing of the original patch: Chase Douglas.
      Minor cleanup and testing: Chris Bagwell.
      Finalization and semi-mt support: Henrik Rydberg.
      
      Reported-by: Tobyn Bertram
      Signed-off-by: NTakashi Iwai <tiwai@suse.de>
      Signed-off-by: NChase Douglas <chase.douglas@canonical.com>
      Signed-off-by: NChris Bagwell <chris@cnpbagwell.com>
      Acked-by: NDmitry Torokhov <dtor@mail.ru>
      Signed-off-by: NHenrik Rydberg <rydberg@euromail.se>
      fec6e525