[openbeos] Re: wacom pen tablet support

  • From: "Stephan Assmus" <superstippi@xxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Mon, 04 Aug 2008 14:21:10 +0200

Hi,

> > > Is this device supported by Haiku´s wacom driver?
> > > 
> > > WACOM BAMBOO ONE MEDIUM A6 USB
> > > CTF-430/S-EN
> > > 
> > > (the cheapest model)
> > 
> > Do you know the device id for it? It is most likely a job of adding a
> > case in the driver with the device id and size.It's most likely used 
> > like a pen partner.
> 
> It appeared to me the driver hardcodes grid sizes for each model, and 
> then devides the coords by those to map to {1.0,1.0}.
> This seems very odd, and at least is the reason it doesn't work with 
> QEMU's emulation, which just sends the original coords unscaled.
> The correct way should be to check the HID descriptors to read the max 
> values.

Yes, that would be much better. Totally agreed. At the time, I just refactored 
the code a lot, but didn't change to essence of how it worked. If possible, it 
would be cool to integrate that with our HID driver, but that one doesn't fully 
parse the descriptors either, yet.

Best regards,
-Stephan

Other related posts: