[haiku-bugs] Re: [Haiku] #5960: Wacom Intuos3 9x12 has wrong resolution

  • From: "idefix" <trac@xxxxxxxxxxxx>
  • Date: Tue, 11 May 2010 18:44:58 -0000

#5960: Wacom Intuos3 9x12 has wrong resolution
--------------------------------+-------------------------------------------
  Reporter:  bobrost            |       Owner:  stippi     
      Type:  bug                |      Status:  closed     
  Priority:  normal             |   Milestone:  R1         
 Component:  Drivers/Mouse/USB  |     Version:  R1/alpha2  
Resolution:  fixed              |    Keywords:  wacom input
 Blockedby:                     |    Platform:  All        
  Blocking:                     |  
--------------------------------+-------------------------------------------

Comment(by idefix):

 Oh, I see a bug in your patch: Cintiq also needs the different calculation
 method.

 My patch used:
 {{{
 #!cpp
                                 if (fDeviceMode == DEVICE_INTUOS) {
                                         xPos = data[2] << 8 | data[3];
                                         yPos = data[4] << 8 | data[5];
                                 } else {
                                         xPos = data[2] << 9 | data[3] << 1
 | data[9] >> 1 & 1;
                                         yPos = data[4] << 9 | data[5] << 1
 | data[9] & 1;
                                 }
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5960#comment:10>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: