custom-live-linux/ubuntu-studio-20.04/wacom/blender-2560x1080.sh

22 wiersze
643 B
Bash

#!/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