[haiku-bugs] Re: [Haiku] #14592: HUION Giano 1409 Digitizer not recognizing "click"

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 18 Jun 2020 21:03:31 -0000

#14592: HUION Giano 1409 Digitizer not recognizing "click"
------------------------------------+----------------------------
  Reporter:  roiredxsoto            |      Owner:  nobody
      Type:  bug                    |     Status:  new
  Priority:  normal                 |  Milestone:  Unscheduled
 Component:  Drivers/Input/USB-HID  |    Version:  R1/Development
Resolution:                         |   Keywords:
Blocked By:                         |   Blocking:
  Platform:  All                    |
------------------------------------+----------------------------
Comment (by lt_henry):

 Yeah, the patch is a short-term solution. Reading again USB Usage Tables I
 see that it recommends mapping to 0/1 buttons in a "non-pen context".
 Whatever that means.

 I also prefer to push all sensor state down to user-space and perform the
 heuristics there based on context, user settings,... I guess input server
 must be modified, but I dont have the Haiku architecture knowledge for
 that. I can try it, however :D

Why does that make it unusable?

 Some digitizers dont expose buttons at report descriptor. It is not clear
 to me if this is usb compliant or not.

And isn't assigning tip to button 0 making it a primary button as
 mentioned already?

 But... where is this done?

Again I do not really know what devices usually come with, do they have
 buttons at all? Do all have tip/barrel?

 I hoped you may know better than me :D From my experience, all I can say
 is that most of the will expose at least, a tip with pressure but no
 buttons. But that's based on my personal experience.

What is the primary use of these

 Some digitizers have a mice device and a stylus:

 https://www.trust.com/es/product/15357-sketch-design-tablet-mouse

and how do they work on other systems?

 Linux has tons of quirks for this kind of devices, but doesnt seem to
 provide a custom report descriptor for mine. I should take a deeper look
 to Linux source and see how its solved.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/14592#comment:10>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: