summaryrefslogtreecommitdiffstats
path: root/etc/controllerrc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:23:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:23:22 +0000
commite42129241681dde7adae7d20697e7b421682fbb4 (patch)
treeaf1fe815a5e639e68e59fabd8395ec69458b3e5e /etc/controllerrc
parentInitial commit. (diff)
downloadgimp-upstream.tar.xz
gimp-upstream.zip
Adding upstream version 2.10.22.upstream/2.10.22upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'etc/controllerrc')
-rw-r--r--etc/controllerrc64
1 files changed, 64 insertions, 0 deletions
diff --git a/etc/controllerrc b/etc/controllerrc
new file mode 100644
index 0000000..17f4240
--- /dev/null
+++ b/etc/controllerrc
@@ -0,0 +1,64 @@
+# GIMP controllerrc
+
+(GimpControllerInfo "Main Mouse Wheel"
+ (enabled yes)
+ (debug-events no)
+ (controller "GimpControllerWheel")
+ (mapping
+ (map "scroll-up-alt" "tools-opacity-increase")
+ (map "scroll-down-alt" "tools-opacity-decrease")
+ (map "scroll-up-shift-primary" "tools-aspect-increase")
+ (map "scroll-down-shift-primary" "tools-aspect-decrease")
+ (map "scroll-up-shift-alt" "tools-angle-increase")
+ (map "scroll-down-shift-alt" "tools-angle-decrease")
+ (map "scroll-up-primary-alt" "tools-size-increase")
+ (map "scroll-down-primary-alt" "tools-size-decrease")
+ (map "scroll-up-shift-primary-alt" "tools-spacing-increase")
+ (map "scroll-down-shift-primary-alt" "tools-spacing-decrease")))
+
+(GimpControllerInfo "Main Keyboard"
+ (enabled yes)
+ (debug-events no)
+ (controller "GimpControllerKeyboard")
+ (mapping
+ (map "cursor-up-shift" "view-scroll-page-up")
+ (map "cursor-down-shift" "view-scroll-page-down")
+ (map "cursor-left-shift" "view-scroll-page-left")
+ (map "cursor-right-shift" "view-scroll-page-right")
+ (map "cursor-up-primary" "view-scroll-top-border")
+ (map "cursor-down-primary" "view-scroll-bottom-border")
+ (map "cursor-left-primary" "view-scroll-left-border")
+ (map "cursor-right-primary" "view-scroll-right-border")
+ (map "cursor-up-alt" "tools-size-increase-skip")
+ (map "cursor-down-alt" "tools-size-decrease-skip")
+ (map "cursor-left-alt" "tools-size-decrease")
+ (map "cursor-right-alt" "tools-size-increase")))
+
+# (GimpControllerInfo "Linux Input Example"
+# (enabled yes)
+# (debug-events no)
+# (controller "ControllerLinuxInput"
+# (device "/dev/input/event2"))
+# (mapping
+# (map "wheel-turn-left" "tools-value-2-decrease")
+# (map "wheel-turn-right" "tools-value-2-increase")))
+
+# (GimpControllerInfo "Midi Example"
+# (enabled yes)
+# (debug-events no)
+# (controller "ControllerMidi"
+# (device "/dev/midi01")
+# (channel 0))
+# (mapping
+# (map "controller-000" "context-foreground-red-set")
+# (map "controller-001" "context-foreground-green-set")
+# (map "controller-002" "context-foreground-blue-set")
+# (map "controller-004" "context-background-red-set")
+# (map "controller-005" "context-background-green-set")
+# (map "controller-006" "context-background-blue-set")
+# (map "controller-008" "context-brush-radius-set")
+# (map "controller-009" "context-brush-hardness-set")
+# (map "controller-010" "context-brush-aspect-set")
+# (map "controller-011" "context-brush-angle-set")))
+
+# end of controllerrc