From 69b24b88397122e13fe4ee51a94ee03545bef6a3 Mon Sep 17 00:00:00 2001 From: Mi Klo Date: Sat, 7 Aug 2021 20:09:05 +0000 Subject: [PATCH] wacom config --- .../wacom/blender-2560x1080.sh | 21 +++++++++++++++++++ ubuntu-studio-20.04/wacom/blender-intuos.sh | 18 ++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 ubuntu-studio-20.04/wacom/blender-2560x1080.sh create mode 100644 ubuntu-studio-20.04/wacom/blender-intuos.sh diff --git a/ubuntu-studio-20.04/wacom/blender-2560x1080.sh b/ubuntu-studio-20.04/wacom/blender-2560x1080.sh new file mode 100644 index 0000000..01bce84 --- /dev/null +++ b/ubuntu-studio-20.04/wacom/blender-2560x1080.sh @@ -0,0 +1,21 @@ +#!/bin/sh +#Intuos S BT - map tablet area to 1920x1080 on wide 2560x1080 monitor, map keys for blender +#Runtime only - restart after hot plug + +DEVICE="Wacom Intuos BT S Pad" +STYLUS="$DEVICE stylus" +ERASER="$DEVICE eraser" +PAD="$DEVICE pad" + +#Klawisz 1 => [CTRL]: +xsetwacom set "$PAD" Button 1 "key ctrl" +#Klawisz 2 => [SHIFT]: +xsetwacom set "$PAD" Button 2 "key shift" +#Klawisz 3 => [spacja]: +xsetwacom set "$PAD" Button 3 "key space" +#Klawisz 4 => gnome-pie: +xsetwacom set "$PAD" Button 8 "key ctrl alt a" + + +xsetwacom set "Wacom Intuos BT S Pen stylus" Area 0 0 20266 9500 +xsetwacom set "Wacom Intuos BT S Pen cursor" Area 0 0 20266 9500 diff --git a/ubuntu-studio-20.04/wacom/blender-intuos.sh b/ubuntu-studio-20.04/wacom/blender-intuos.sh new file mode 100644 index 0000000..42e8d4c --- /dev/null +++ b/ubuntu-studio-20.04/wacom/blender-intuos.sh @@ -0,0 +1,18 @@ +#!/bin/sh +#Intuos S BT - map keys for blender +#Runtime only - restart after hot plug + +DEVICE="Wacom Intuos BT S Pad" +STYLUS="$DEVICE stylus" +ERASER="$DEVICE eraser" +PAD="$DEVICE pad" + +#Klawisz 1 => [CTRL]: +xsetwacom set "$PAD" Button 1 "key ctrl" +#Klawisz 2 => [SHIFT]: +xsetwacom set "$PAD" Button 2 "key shift" +#Klawisz 3 => [spacja]: +xsetwacom set "$PAD" Button 3 "key space" +#Klawisz 4 => gnome-pie: +xsetwacom set "$PAD" Button 8 "key ctrl alt a" +