1. 07 Jan, 2011 1 commit
  2. 30 Dec, 2010 1 commit
  3. 28 Dec, 2010 4 commits
  4. 23 Dec, 2010 3 commits
  5. 22 Dec, 2010 1 commit
  6. 21 Dec, 2010 2 commits
    • Henrik Rydberg's avatar
      Input: synaptics - add multi-finger and semi-mt support · fec6e525
      Henrik Rydberg authored
      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: default avatarTakashi Iwai <tiwai@suse.de>
      Signed-off-by: default avatarChase Douglas <chase.douglas@canonical.com>
      Signed-off-by: default avatarChris Bagwell <chris@cnpbagwell.com>
      Acked-by: default avatarDmitry Torokhov <dtor@mail.ru>
      Signed-off-by: default avatarHenrik Rydberg <rydberg@euromail.se>
      fec6e525
    • Henrik Rydberg's avatar
      Input: synaptics - report clickpad property · c14890a8
      Henrik Rydberg authored
      With the new input property interface, it is possible to report the
      special quirks of a device using ioctl/sysfs. This patch sets up the
      device as a pointer, and reports the clickpad functionality via the
      INPUT_PROP_BUTTONPAD property.
      Acked-by: default avatarChase Douglas <chase.douglas@canonical.com>
      Signed-off-by: default avatarHenrik Rydberg <rydberg@euromail.se>
      c14890a8
  7. 20 Dec, 2010 3 commits
  8. 18 Dec, 2010 1 commit
  9. 16 Dec, 2010 16 commits
  10. 15 Dec, 2010 1 commit
    • Dmitry Torokhov's avatar
      Input: define separate EVIOCGKEYCODE_V2/EVIOCSKEYCODE_V2 · ab4e0192
      Dmitry Torokhov authored
      The desire to keep old names for the EVIOCGKEYCODE/EVIOCSKEYCODE while
      extending them to support large scancodes was a mistake. While we tried
      to keep ABI intact (and we succeeded in doing that, programs compiled
      on older kernels will work on newer ones) there is still a problem with
      recompiling existing software with newer kernel headers.
      
      New kernel headers will supply updated ioctl numbers and kernel will
      expect that userspace will use struct input_keymap_entry to set and
      retrieve keymap data. But since the names of ioctls are still the same
      userspace will happily compile even if not adjusted to make use of the
      new structure and will start miraculously fail in the field.
      
      To avoid this issue let's revert EVIOCGKEYCODE/EVIOCSKEYCODE definitions
      and add EVIOCGKEYCODE_V2/EVIOCSKEYCODE_V2 so that userspace can explicitly
      select the style of ioctls it wants to employ.
      Reviewed-by: default avatarHenrik Rydberg <rydberg@euromail.se>
      Acked-by: default avatarJarod Wilson <jarod@redhat.com>
      Acked-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
      ab4e0192
  11. 11 Dec, 2010 1 commit
  12. 08 Dec, 2010 3 commits
  13. 07 Dec, 2010 1 commit
  14. 01 Dec, 2010 2 commits