On Thu, 6 Apr 2006 02:31:35 +0200 Colin Brace wrote: > On 4/5/06, Carsten Schurig wrote: [...] > Just curious: is there any simple way of mapping the pad buttons to an > action? I was thinking it might be useful in gimp to map the left > button to the main dialog and the left to the levels/channels dialog > or something like that. There are some entry fields under "pad" in the > Configure Extended Input Devices dialog that look promising, but
First, the "pad" entry in Gimp must be set to "Mode: Disabled". I've failed to document that. If enabled, Gimp will become confused since it has no real knowledge about the "pad" device. It just lists all the devices it sees. To get an action from your buttons just define it... Eg (on my swedish keyboard): 05 Left Button: 64 06 Left Button Plus: 41 Sends "Alt-F" which brings up the _F_ile dialogue. Layers/Channels window would be opened/switched to with "Ctrl-L": 07 Right Button: 37 08 Right Button Plus: 46 But wouldn't "Undo"/"Redo" be more useful (Ctrl-Z/Ctrl-Y)? I have not implemented "send-more-than-two-buttons". Perhaps in the future... You use the "xev" program (comes with a normal X install) to find which keycodes are issued by your keyboard - language/layout dependent. Use the X "xprop" program to find the application name when writing a new section in the config file: $ xprop | grep WM_CLASS Then click on the program window. Example output: WM_CLASS(STRING) = "VCLSalFrame", "OpenOffice.org 1.1.4" So you'd put 00 Program Name: "OpenOffice.org 1.1.4" in that section. Always use the last string in the output from xprop as the name. It seems that Carsten deleted a tad wee to much... even the USAGE file :-) Mvh Mats Johannesson -- ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Linuxwacom-discuss mailing list Linuxwacom-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss