Gimp/etc/controllerrc
Sven Neumann f4208e33ba bug fix.
2004-06-16  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcontrollers.c: bug fix.

	* configure.in: check for linux/input.h.

	* modules/Makefile.am
	* modules/controller_linux_input.c: added a prototype controller
	module using the linux input event interface.

	* etc/controllerrc: added example config for linux input device.
2004-06-16 02:18:17 +00:00

30 lines
921 B
Text

# GIMP controllerrc
(controller "GimpControllerWheel"
(options
(name "Main Mouse Wheel")
(enabled TRUE))
(mapping 0 "context-font-next")
(mapping 1 "context-gradient-next")
(mapping 2 "context-pattern-next")
(mapping 3 "context-brush-next")
(mapping 4 "context-opacity-increase-skip")
(mapping 8 "context-font-previous")
(mapping 9 "context-gradient-previous")
(mapping 10 "context-pattern-previous")
(mapping 11 "context-brush-previous")
(mapping 12 "context-opacity-decreas-skip"))
(controller "ControllerLinuxInput"
(options
(name "USB Device")
(device "/dev/input/event2"))
(mapping 0 "tools-rect-select")
(mapping 1 "tools-ellipse-select")
(mapping 2 "tools-bucket-fill")
(mapping 3 "tools-blend")
(mapping 4 "tools-pencil")
(mapping 5 "tools-paintbrush")
(mapping 6 "tools-eraser")
(mapping 7 "tools-airbrush"))