Created
June 14, 2017 19:18
-
-
Save bloodywing/e72891d7a6fb137c9cd0798bc52ceaef to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
DEVICE="Wacom Cintiq 13HD" | |
S="$DEVICE Pen Pen stylus" | |
A="$DEVICE Pen Airbrush stylus" | |
E="$DEVICE Pen Pen eraser" | |
P="$DEVICE Pad pad" | |
DISP="1920x1080+1600+0" | |
xsetwacom set "$S" PressureCurve 0 0 100 100 | |
xsetwacom set "$E" PressureCurve 0 0 100 100 | |
## PAD | |
# 2 | |
# 3 | |
# | |
# ^ | |
# 11 | |
# <12 [1] 10> | |
# 13 | |
# V | |
# | |
# 8 | |
# 9 | |
xsetwacom set "$P" Button 1 "key +space" # Toggel color | |
xsetwacom set "$P" Button 11 "key +" # zoom in | |
xsetwacom set "$P" Button 13 "key -" # zoom out | |
xsetwacom set "$P" Button 12 "key m ctrl tab -ctrl m ctrl tab" # Mirror view | |
xsetwacom set "$P" Button 10 "key +ctrl" # well ctrl, colour picker | |
xsetwacom set "$P" Button 2 "key e" # brush mode | |
xsetwacom set "$P" Button 3 "key shift" # + left button = rotate | |
xsetwacom set "$P" Button 8 "key shift +space" # inc brush size | |
xsetwacom set "$P" Button 9 "key #" # deg brush size | |
xsetwacom set "$P" RelWheelDown "button 4" | |
xsetwacom set "$P" RelWheelUp "button 5" | |
xsetwacom set "$A" Button 2 "button 3" | |
xsetwacom set "$S" MapToOutput "$DISP" | |
xsetwacom set "$A" MapToOutput "$DISP" | |
xsetwacom set "$E" MapToOutput "$DISP" | |
xsetwacom set "$S" Area 350 200 59006 33165 | |
xsetwacom set "$A" Area 350 200 59006 33165 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment