[haiku-bugs] Re: [Haiku] #4847: Wacom Intuos not handled

  • From: "Pete" <trac@xxxxxxxxxxxx>
  • Date: Sun, 28 Sep 2014 00:28:08 -0000

#4847: Wacom Intuos not handled
-----------------------+-----------------------
   Reporter:  Pete     |      Owner:  stippi
       Type:  bug      |     Status:  new
   Priority:  normal   |  Milestone:  R1
  Component:  Drivers  |    Version:  R1/alpha1
 Resolution:           |   Keywords:
 Blocked By:           |   Blocking:
Has a Patch:  1        |   Platform:  All
-----------------------+-----------------------

Comment (by Pete):

 Attached a revised patch.  Think/hope it matches the guidelines.

 As I reduced some explanatory comments, I'll record the here for
 reference:

 {{{
  Modifications to correct (original) Intuos functioning...
  The critical point is that data[6] is used to signal use of the eraser,
  as well as being the high bits of pressure.  The indication is only valid
  when the pen is *not* in contact with the tablet, so it must be retained
  from the pre-touch state while the pen is in contact.
  (Always) while not in contact:
         If the pen end is lowermost data[6] = 1;
         If the eraser end is down data[6] = 0, and pressure is strictly 0
  data[9] (top 5 bits: 0x70..0xd0) indicates height above the tablet;
  this is used to prevent pressure jitter giving false eraser state.

 }}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/4847#comment:8>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: