17-03-18, 10:24
voici un script qui configure ma tablette Intuos Pro,
permet de zoomer avec le pad ring
j'ai deux écrans, et je limite ma tablette qu'a un seul écran
permet de zoomer avec le pad ring
j'ai deux écrans, et je limite ma tablette qu'a un seul écran
Code :
#! /bin/bash
#sur un seul ecran
#http://linuxwacom.sourceforge.net/wiki/index.php/Dual_and_Multi-Monitor_Set_Up
#xinput set-prop "Wacom Intuos Pro L Finger" --type=float "Coordinate Transformation Matrix" 0.5 0 0.5 0 1 0 0 0 1
xinput set-prop "Wacom Intuos Pro L Finger touch" "Device Enabled" 0
xinput set-prop "Wacom Intuos Pro L Pen cursor" --type=float "Coordinate Transformation Matrix" 0.5 0 0.5 0 1 0 0 0 1
xinput set-prop "Wacom Intuos Pro L Pad pad" --type=float "Coordinate Transformation Matrix" 0.5 0 0.5 0 1 0 0 0 1
xinput set-prop "Wacom Intuos Pro L Pen eraser" --type=float "Coordinate Transformation Matrix" 0.5 0 0.5 0 1 0 0 0 1
xinput set-prop "Wacom Intuos Pro L Pen stylus" --type=float "Coordinate Transformation Matrix" 0.5 0 0.5 0 1 0 0 0 1
xsetwacom -v set "Wacom Intuos Pro L Pad pad" Button 2 "key Control_L"
xsetwacom -v set "Wacom Intuos Pro L Pad pad" Button 3 "key Shift_L"
xsetwacom -v set "Wacom Intuos Pro L Pad pad" Button 8 "key m"
xsetwacom -v set "Wacom Intuos Pro L Pad pad" Button 9 "key Control ("
xsetwacom -v set "Wacom Intuos Pro L Pad pad" Button 10 "key F6"
xsetwacom -v set "Wacom Intuos Pro L Pad pad" Button 11 "key F5"
xsetwacom -v set "Wacom Intuos Pro L Pad pad" Button 13 "key Control z"
#xsetwacom -v set "Wacom Intuos Pro L Pad pad" Touch off
xsetwacom -v set "Wacom Intuos Pro L Finger touch" Touch off
#"Wacom Intuos Pro L Finger"
#"Wacom Intuos Pro L Pen cursor"
#"Wacom Intuos Pro L Pad pad"
#"Wacom Intuos Pro L Pen eraser"
#"Wacom Intuos Pro L Pen stylus"