2004-06-16 Michael Natterer <mitch@gimp.org> * libgimpwidgets/gimpcontroller.[ch]: added GimpController::get_event_blurb() which returns the strings that were returned by get_event_name(). The latter returns untranslatable event identifiers now. * app/widgets/gimpcontrollerwheel.c * modules/controller_linux_input.c: changed accordingly. * app/widgets/gimpcontrollerinfo.c * app/widgets/gimpcontrollers.c: changed the event mapping from event-id -> action-name to event-name -> action-name. * etc/controllerrc: changed accordingly (finally readable now).
30 lines
1.3 KiB
Text
30 lines
1.3 KiB
Text
# GIMP controllerrc
|
|
|
|
(controller "GimpControllerWheel"
|
|
(options
|
|
(name "Main Mouse Wheel"))
|
|
(mapping "scroll-up-shift-control-alt" "context-font-next")
|
|
(mapping "scroll-up-control-alt" "context-gradient-next")
|
|
(mapping "scroll-up-shift-alt" "context-pattern-next")
|
|
(mapping "scroll-up-shift-control" "context-brush-next")
|
|
(mapping "scroll-up-alt" "context-opacity-increase-skip")
|
|
(mapping "scroll-down-shift-control-alt" "context-font-previous")
|
|
(mapping "scroll-down-control-alt" "context-gradient-previous")
|
|
(mapping "scroll-down-shift-alt" "context-pattern-previous")
|
|
(mapping "scroll-down-shift-control" "context-brush-previous")
|
|
(mapping "scroll-down-alt" "context-opacity-decrease-skip"))
|
|
|
|
(controller "ControllerLinuxInput"
|
|
(options
|
|
(name "ShuttlePRO")
|
|
(device "/dev/input/event2"))
|
|
(mapping "button-0" "tools-rect-select")
|
|
(mapping "button-1" "tools-ellipse-select")
|
|
(mapping "button-2" "tools-bucket-fill")
|
|
(mapping "button-3" "tools-blend")
|
|
(mapping "button-4" "tools-pencil")
|
|
(mapping "button-5" "tools-paintbrush")
|
|
(mapping "button-6" "tools-eraser")
|
|
(mapping "button-7" "tools-airbrush")
|
|
(mapping "wheel-turn-left" "context-brush-radius-decrease")
|
|
(mapping "wheel-turn-right" "context-brush-radius-increase"))
|