Configuring tablet buttons for GIMP in linux

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Configuring tablet buttons for GIMP in linux

B.V. Raghav
Hi

I want to configure the tablet for GIMP on my linux box. I referred to
this blog[1], but it assumes that GIMP recognizes input device[2].

I am running GIMP 2.8.20 on x86_64 GNU/Linux ArchLinux 4.11.3 and it
does not recognize my device[3].

1. X recognizes my tablet: [Xinput Command log];

2. When xev captures [Mouse Button Release], buttons 1/2/3 has states
   0x110/0x210/0x410 respectively;

3. Whereas, that in case of [Tablet Button Release], the eight buttons
   1/2/3/8/9/10/11/12 respectively are captured with state 0x10 for each
   of them.

But the tablet and pen do provide pointer input to the X, which seems to
be forwarded to GIMP.

How may I configure the following for GIMP

+ Pressure sensitivity
+ Tablet Buttons

[Xinput Command log]

% xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Logitech USB Optical Mouse                id=8    [slave  pointer  (2)]
⎜   ↳ HUION PenTablet Consumer Control          id=11   [slave  pointer  (2)]
⎜   ↳ HUION PenTablet Pad                       id=14   [slave  pointer  (2)]
⎜   ↳ HUION PenTablet Pen Pen (0)               id=15   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Sleep Button                              id=7    [slave  keyboard (3)]
    ↳ HID 04d9:1203                             id=9    [slave  keyboard (3)]
    ↳ HID 04d9:1203                             id=10   [slave  keyboard (3)]
    ↳ HUION PenTablet Consumer Control          id=12   [slave  keyboard (3)]
    ↳ HUION PenTablet Pen                       id=13   [slave  keyboard (3)]

[Mouse Button Release] (using xev)

ButtonRelease event, serial 33, synthetic NO, window 0x1e00001,
    root 0x1d7, subw 0x0, time 575901294, (153,533), root:(157,1502),
    state 0x410, button 3, same_screen YES

[Tablet Button Release] (using xev)

ButtonPress event, serial 33, synthetic NO, window 0x1e00001,
    root 0x1d7, subw 0x0, time 575901070, (153,533), root:(157,1502),
    state 0x10, button 3, same_screen YES

This is the same question posted on SO[4]. But I had no luck to find an
answer there. And by now.. the thread would have died out of people's
inbox(es)

[1] http://feeblemind.tuxfamily.org/blog/index.php?post/2010/07/07/Configuring-Gimp-for-pen-tablets-%28like-Wacom-s-Bamboo-Fun%29
[2] http://feeblemind.tuxfamily.org/all-blogs/public/tutorials/configure_gimp_for_pen/Screenshot-02.png
[3] https://bvraghav.com/d/gimp-input-devices.png
[4] https://stackoverflow.com/questions/44427232/configuring-tablet-buttons-for-gimp-in-linux

r
--
(B.V. Raghav)



_______________________________________________
gimp-user-list mailing list
List address:    [hidden email]
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list
Loading...