aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2009-08-25 11:14:10 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-12 09:42:32 -0500
commit2ca2078e287174522e3a6229618947d3d285b8c0 (patch)
tree5702631cd3cd589645b3fb73b315e4c9c9f78d21 /block
parentb96bf49306e061197058b725f5b44e8294e12486 (diff)
Fixed wacom emulation
- for absolute mode, scale coordinates to the real device maximum values, since some drivers (on Haiku and Linux at least) need them as such, and the HID descriptor is boggus on some models anyway, - keep the coordinates even when no button is pressed, on real tablet the pen is sensed on the surface even without direct contact, and drivers expect this, - map left button to pressure according to what the Haiku driver wants, - map the right button to the pen button, - map the middle button to the eraser, - use asynchronous reporting as the hid code does, stops the Haiku driver (and probably others) from spending 50% cpu polling for changes. Signed-off-by: François Revol <revol@free.fr> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions