Re: [DIGImend-users] Huion 610p tablet and hardware buttons
Brought to you by:
spb_nick
From: Nikolai K. <sp...@gm...> - 2015-03-29 17:04:27
|
Hi Alec, On 03/25/2015 03:39 PM, Alec Teal wrote: > I hate to do this but it's been 5 days and now all I'm finding from > search results are my own questions. > > This is not an area I've ever had to deal with (anything with the letter > x infront of it that is) but I really need at least an undo button. > > I did try with xbindkeys, but I don't want to remap "normal" keyboard > shortcuts and Gimp doesn't recognise that the tablet has hardware buttons. > > Also the undo button (top one, causes active window to [attempt] to > close) causes a segfault with xbindkeys -k which is really weird. > > Anyway how can I help fix this? I really need that undo button. You can try to use the latest development version with the Wacom tablet driver (xf86-input-wacom). The latest development version is available here: https://github.com/DIGImend/digimend-kernel-drivers/archive/master.zip Build and install the above as described in README.md. Then install the Wacom tablet driver (xf86-input-wacom) from your distro package repositories. Put this into a file under /etc/X11/xorg.conf.d, e.g. /etc/X11/xorg.conf.d/10-huion.conf: Section "InputClass" Identifier "Huion tablet" MatchUSBID "256c:006e" MatchDevicePath "/dev/input/event*" Driver "wacom" EndSection Then restart X, or just the whole machine. Connect the tablet and check if the Wacom driver has gotten hold of the tablet. The output of "xsetwacom --list" should list your tablet devices. There should be a pad and a stylus device. If that's so, you should be able to use the "xsetwacom" command to change the button bindings. E.g. to make the first button send "Ctrl-Z" (i.e. "Undo"), you'll need to execute this command: xsetwacom --set "DEVICE_NAME" Button 1 key +ctrl +z -z -ctrl where DEVICE_NAME is the pad device name from the "xsetwacom --list" output. In my case the "xsetwacom --list" output was this: 10594 Pad pad id: 13 type: PAD 10594 Pen stylus id: 14 type: STYLUS and the command, this: xsetwacom --set "10594 Pad pad" Button 1 key +ctrl +z -z -ctrl Please read "xsetwacom" man page for more details on its usage. Nick |