Re: [DIGImend-devel] [PATCH 2/2] huion: Switch to reporting abstract button events
Brought to you by:
spb_nick
|
From: Nikolai K. <sp...@gm...> - 2015-03-15 20:07:23
|
On 03/15/2015 07:18 PM, Benjamin Tissoires wrote: > > > > > ----- Original Message ----- >> From: "Nikolai Kondrashov" <sp...@gm...> >> To: "Benjamin Tissoires" <ben...@re...>, "DIGImend-devel" <DIG...@li...> >> Sent: Sunday, March 15, 2015 12:54:19 PM >> Subject: Re: [DIGImend-devel] [PATCH 2/2] huion: Switch to reporting abstract button events >> >> On 03/15/2015 06:02 PM, Nikolai Kondrashov wrote: >>> On 03/13/2015 11:28 PM, Benjamin Tissoires wrote: >>>> Based on a patch from: Nikolai Kondrashov <Nik...@re...> >>>> >>>> Enable abstract keyboard mode for Huion tablets, which makes them report >>>> frame buttons using the pen interface and report ID. Divert these >>>> reports to a virtual report ID describing them. >>>> >>>> This makes the tablet compatible with xf86-input-wacom and libinput, >>>> but stops the frame buttons from reporting keyboard events. >>>> --- >>>> >>>> Sorry it took so long to actually propose this patch. I am fixing at the >>>> moment >>>> gnome-control-center, gnome-settings-daemon and libwacom to be able to >>>> handle >>>> also the generic devices like the Huion ones. >>> >>> This is excellent news which we'll be welcome by all users, I'm sure. >>> >>>> I need to go through all the Huion known device and see what they answer >>>> when >>>> querying the string 0x7b, but I believe checking if "HK On" is returned >>>> should >>>> allow us to prevent activating a pad interface if the device does not >>>> support >>>> it. >>> >>> We can add requesting that string to huion-tools: >>> >>> https://github.com/DIGImend/huion-tools >> >> Added. >> >>> And then ask people to run it and report results. >> >> Can make a release, build packages and send the word out to people, if you >> think it's useful. >> > > I think it will definitively be useful. > I just made a quick test, and I think you should also warn users that they > need to unplug/replug the tablet after running the tool. It can switch the > tablet in the button reporting mode and kill the current keyboard interface > (and messed up the pen interface too). I added a note on this, thanks Benjamin. I've quickly thrown together a release: https://github.com/DIGImend/uclogic-tools/releases/tag/v4 I'll be sending out a message to the list and a few people to get the dumps, tomorrow. Nick |