1. 26 7月, 2014 1 次提交
    • B
      Input: wacom - create a separate input device for pads · d2d13f18
      Benjamin Tissoires 提交于
      Currently, the pad events are sent through the stylus input device
      for the Intuos/Cintiqs, and through the touch input device for the
      Bamboos.
      
      To differentiate the buttons pressed on the pad from the ones pressed
      on the stylus, the Intuos/Cintiq uses MISC_SERIAL and ABS_MISC. This
      lead to a multiplexing of the events into one device, which are then
      splitted out in xf86-input-wacom. Bamboos are not using MISC events
      because the pad is attached to the touch interface, and only BTN_TOUCH
      is used for the finger (and DOUBLE_TAP, etc...). However, the user space
      driver still splits out the pad from the touch interface in the same
      way it does for the pro line devices.
      
      The other problem we can see with this fact is that some of the Intuos
      and Cintiq have a wheel, and the effective range of the reported values
      is [0..71]. Unfortunately, the airbrush stylus also sends wheel events
      (there is a small wheel on it), but in the range [0..1023]. From the user
      space point of view it is kind of difficult to understand that because
      the wheel on the pad are quite common, while the airbrush tool is not.
      
      A solution to fix all of these problems is to split out the pad device
      from the stylus/touch. This decision makes more sense because the pad is
      not linked to the absolute position of the finger or pen, and usually, the
      events from the pad are filtered out by the compositor, which then convert
      them into actions or keyboard shortcuts.
      
      For backward compatibility with current xf86-input-wacom, the pad devices
      still present the ABS_X, ABS_Y and ABS_MISC events, but they can be
      completely ignored in the new implementation.
      Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@redhat.com>
      Reviewed-by: NPing Cheng <pingc@wacom.com>
      Reviewed-by: NJason Gerecke <killertofu@gmail.com>
      Signed-off-by: NDmitry Torokhov <dmitry.torokhov@gmail.com>
      d2d13f18
  2. 29 5月, 2014 1 次提交
  3. 15 5月, 2014 2 次提交
  4. 21 1月, 2014 1 次提交
  5. 16 12月, 2013 1 次提交
  6. 26 11月, 2013 1 次提交
  7. 23 10月, 2013 1 次提交
  8. 21 9月, 2013 2 次提交
  9. 06 5月, 2013 1 次提交
  10. 14 2月, 2013 1 次提交
  11. 06 1月, 2013 1 次提交
  12. 09 11月, 2012 1 次提交
  13. 26 10月, 2012 2 次提交
  14. 25 7月, 2012 1 次提交
  15. 12 6月, 2012 2 次提交
  16. 30 4月, 2012 2 次提交
  17. 05 4月, 2012 2 次提交
  18. 26 3月, 2012 3 次提交
  19. 31 1月, 2012 1 次提交
  20. 12 12月, 2011 1 次提交
  21. 27 10月, 2011 2 次提交
  22. 27 3月, 2011 1 次提交
    • P
      Input: wacom - report resolution for pen devices · e35fb8c1
      Ping Cheng 提交于
      Touch resolution is reported to the userland by retrieving the value
      from the HID descriptor. But pen resolution is not since it can not
      be retrieved. The current Wacom X driver has a resolution table.
      To centralize the source of these values, the resolution entries are
      added in the wacom_features struct for x and y coordinates respectively.
      The values are then reported to the userland.
      Signed-off-by: NPing Cheng <pingc@wacom.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      e35fb8c1
  23. 13 3月, 2011 2 次提交
  24. 16 12月, 2010 1 次提交
  25. 06 9月, 2010 5 次提交
  26. 28 6月, 2010 1 次提交