gromit-mpx
gromit-mpx copied to clipboard
Request support for buttons beyond '5'
I have a wacom Intuos tablet. It has 4 buttons on the pad and three on the stylus(including the tip) The buttons on the pad report as 1,3,8,9. I'm able to configure 1 and 3 but 8 and 9 give the warning "Only Buttons 1-5 are supported!" on startup.
Can these be added without too much trouble?
I have an experimental patch morebuttons.patch.txt ready but I fear it's GDK that will only report 5 buttons as per https://developer.gnome.org/gdk3/stable/gdk3-Event-Structures.html#GdkEventButton but I might be wrong...
Thanks for looking at this. Sorry to take so long getting back. My dog chewed up my stylus this week.
I applied the patch and It's partly working. Buttons 8 and 9 seem to be recognized but don't act quite right. I have these two lines in gromit-mpx.cfg:
"Wacom Intuos PT S 2 Pad pad"[8] = "yellow arrow";
"Wacom Intuos PT S 2 Pad pad"[9] = "orange arrow";
If I configure button 9, it works and button 8 has the same behavior (orange arrow). If I don't configure 9, 8 acts like the default Pen stylus.
here's the output from startup with -d
skipped token skipped token Tool name: "recolor yellow|@0 ": Recolor, width: 200, minwidth: 1, arrowsize: 0.00, color: rgb(255,255,0) Tool name: "Wacom Intuos PT S 2 Pen stylus|@0": Pen, width: 5, minwidth: 1, arrowsize: 0.00, color: rgb(255,0,0) Tool name: "red pen|@0 ": Pen, width: 5, minwidth: 1, arrowsize: 0.00, color: rgb(255,0,0) Tool name: "recolor orange|@0 ": Recolor, width: 200, minwidth: 1, arrowsize: 0.00, color: rgb(255,165,0) Tool name: "Wacom Intuos PT S 2 Pad pad|A0": Pen, width: 5, minwidth: 1, arrowsize: 0.00, color: rgb(0,0,255) Tool name: "orange arrow|@0 ": Pen, width: 5, minwidth: 1, arrowsize: 1.00, color: rgb(255,165,0) Tool name: "yellow arrow|@0 ": Pen, width: 5, minwidth: 1, arrowsize: 1.00, color: rgb(255,255,0) Tool name: "pen|@0 ": Pen, width: 5, minwidth: 1, arrowsize: 0.00, color: rgb(255,0,0) Tool name: "Wacom Intuos PT S 2 Pad pad|�0": Pen, width: 5, minwidth: 1, arrowsize: 1.00, color: rgb(255,165,0) Tool name: "blue pen|@0 ": Pen, width: 5, minwidth: 1, arrowsize: 0.00, color: rgb(0,0,255) Tool name: "recolor blue|@0 ": Recolor, width: 200, minwidth: 1, arrowsize: 0.00, color: rgb(0,0,255) Tool name: "recolor violet|@0 ": Recolor, width: 200, minwidth: 1, arrowsize: 0.00, color: rgb(238,130,238) Tool name: "magenta pen|@0 ": Pen, width: 5, minwidth: 1, arrowsize: 0.00, color: rgb(255,0,255) Tool name: "cyan pen|@0 ": Pen, width: 5, minwidth: 1, arrowsize: 0.00, color: rgb(0,255,255) Tool name: "recolor magenta|@0 ": Recolor, width: 200, minwidth: 1, arrowsize: 0.00, color: rgb(255,0,255) Tool name: "arrow|@0 ": Pen, width: 5, minwidth: 1, arrowsize: 1.00, color: rgb(255,0,0) Tool name: "yellow pen|@0 ": Pen, width: 5, minwidth: 1, arrowsize: 0.00, color: rgb(255,255,0) Tool name: "Wacom Intuos PT S 2 Pen stylus|C0": Pen, width: 5, minwidth: 1, arrowsize: 0.00, color: rgb(0,128,0) Tool name: "recolor cyan|@0 ": Recolor, width: 200, minwidth: 1, arrowsize: 0.00, color: rgb(0,255,255) Tool name: "Wacom Intuos PT S 2 Finger touch|@0": Pen, width: 5, minwidth: 1, arrowsize: 0.00, color: rgb(255,0,255) Tool name: "eraser|@0 ": Eraser, width: 100, minwidth: 1, arrowsize: 0.00, color: rgb(255,0,0) Tool name: "Wacom Intuos PT S 2 Pad pad|D0": Pen, width: 5, minwidth: 1, arrowsize: 1.00, color: rgb(0,0,255) Tool name: "Wacom Intuos PT S 2 Pen stylus|E0": Eraser, width: 100, minwidth: 1, arrowsize: 0.00, color: rgb(255,0,0) Tool name: "recolor|@0 ": Recolor, width: 200, minwidth: 1, arrowsize: 0.00, color: rgb(0,255,255) Tool name: "green pen|@0 ": Pen, width: 5, minwidth: 1, arrowsize: 0.00, color: rgb(0,128,0) Tool name: "blue arrow|@0 ": Pen, width: 5, minwidth: 1, arrowsize: 1.00, color: rgb(0,0,255) Tool name: "violet pen|@0 ": Pen, width: 5, minwidth: 1, arrowsize: 0.00, color: rgb(238,130,238) Tool name: "recolor red|@0 ": Recolor, width: 200, minwidth: 1, arrowsize: 0.00, color: rgb(255,0,0) Tool name: "marker|@0 ": Pen, width: 20, minwidth: 1, arrowsize: 0.00, color: rgb(255,0,0) Tool name: "recolor green|@0 ": Recolor, width: 200, minwidth: 1, arrowsize: 0.00, color: rgb(0,128,0) Tool name: "orange pen|@0 ": Pen, width: 5, minwidth: 1, arrowsize: 0.00, color: rgb(255,165,0) Supported backends: x11 wayland Using backend: x11 DEBUG: Ungrabbed all Devices. DEBUG: Grabbing hotkeys from keyboard '3' . Enabled Device 0: "Virtual core pointer", (Type: 0) DEBUG: Grabbing hotkeys from keyboard '3' . Enabled Device 1: "Wacom Intuos PT S 2 Finger touch", (Type: 6) DEBUG: Grabbing hotkeys from keyboard '3' . Enabled Device 2: "Wacom Intuos PT S 2 Pen stylus", (Type: 1) DEBUG: Grabbing hotkeys from keyboard '3' . Enabled Device 3: "Wacom Intuos PT S 2 Pad pad", (Type: 1) DEBUG: Grabbing hotkeys from keyboard '3' . Enabled Device 4: "MOSART Semi. 2.4G Keyboard Mouse", (Type: 0) DEBUG: Grabbing hotkeys from keyboard '3' . Enabled Device 5: "Contour Design ShuttleXpress", (Type: 0) DEBUG: Grabbing hotkeys from keyboard '3' . Enabled Device 6: "Razer Razer BlackWidow Ultimate 2016", (Type: 0) DEBUG: Grabbing hotkeys from keyboard '3' . Enabled Device 7: "Razer Razer BlackWidow Ultimate 2016", (Type: 0) DEBUG: Grabbing hotkeys from keyboard '3' . Enabled Device 8: "Virtual core XTEST pointer", (Type: 0) Now 9 enabled devices. DEBUG: Ungrabbed all Devices. DEBUG: Hiding window. DEBUG: got configure event
General update: issues with Gromit-MPX can now be funded at https://issuehunt.io/r/bk138/gromit-mpx