[haiku-development] Re: Tablets and messages

  • From: PHilip RUshik <prushik@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 17 Dec 2010 03:29:02 -0500

On Fri, Dec 17, 2010 at 2:53 AM, Enrique Medina Gremaldos <
quiqueiii@xxxxxxxxx> wrote:

>
>> I still wonder why you need to separate them at all. They do have X and Y
>> items
>> which should correctly report HIDReportItem::Relative() == false, so why
>> not
>> just reuse the whole MouseDevice and unify the mouse_ and tablet_movement
>> structures (so they have a relative flag that describes whether the data
>> is
>> absolute or relative) and then fill such a flag according to whether the
>> report
>> items are relative or not. Unless the TabletInputDevice does other magic
>> missing
>> from the MouseInputDevice I don't really see why we need two device
>> classes and
>> two input_server add-ons handling essentially the same data.
>>
>> TabletInputDevice does some magic MouseInputDevice doesn't. But It doesn't
> really mean anything, pressure, eraser, tilt... all of this can be managed
> in MouseInputDevice too. Same applies for kernel space land, MouseDevice can
> handle digitizer data. I've splited the code just for design reasons and
> some safety ones. Because if my tablet code fails it doesn't render usb mice
> unusable ^_^U
>
> As you already realized, I'm not a driver guru, so I would like to get
> tablet hids fully working first, then I can take a look at mixing all stuff
> together, as you recommend.
>
> About HID detection, Usage id seems to work for me! I'm surprised how many
> devices are hid compliant and doesn't work in Linux.
>
> Just one more easy question. Is Artpaint or wonderbrush handling tablet
> pressure information?
>
> Regards
> Enrique
>
>
>

One quick question, hope this isn't off topic.
I bought a USB drawing pad a little while ago, so far I have not tried very
hard to get it working. But I planned to use it with a linux box (that has
yet to be built), but I tried it on my linux netbook, and it did not work by
default (I have yet to try manually setting up the Wacom drivers).
I believe that it is hid compliant though, so, is it likely that this will
work in Haiku? If that is true, then maybe that linux box will become a
Haiku machine, that would be excellent.

Other related posts: