Re: [DIGImend-devel] [PATCH 2/2] uclogic: Imitate Wacom tablet pad kernel interface
Brought to you by:
spb_nick
|
From: Benjamin T. <ben...@re...> - 2015-03-17 14:50:28
|
On Mar 17 2015 or thereabouts, Nikolai Kondrashov wrote: > On 03/17/2015 03:13 PM, Benjamin Tissoires wrote: > >To have legacy xf86-input-wacom accepting the pad of the Huion tablets, > >we need to set some bits on the Pad interface even if they are not used. > > > >The following bits are activated: > >ABS_MISC, ABS_X, ABS_Y and BTN_STYLUS > >(because the Pad used to be a attached to the stylus interface, libwacom > >and others expect the Pad to look like a tablet) > > Can we just expand the pad report descriptor? > That's an idea. But that means that we will have to define those fake axes to every report descriptor we fix. Here, it will force it for every pad, no matter if the rdesc is fixed or not. Both solutions are tempting (I won't have the time to implement the pad fixup today though). BTW, speaking about extending the report descriptor, I noticed yesterday that the tablets with 8 buttons have a 0x7a string with the byte 3 (starting from 0) set to 0x08. Those of pictures are not showing any buttons have this byte set to 0x00. Unfortunately, I would like to check on the new 1060pro+ (12 buttons) and the H420 (3 buttons) to verify this theory. Anyway, we will have to differentiate those 2 tablets in some way to export only the proper buttons number. Cheers, Benjamin |