하드웨어/pen tablet

xsetwacom with intuos pen & touch tablet

구차니 2025. 9. 10. 17:38

※ 티스토리에서 붙이면 공백이 이상한걸로 바뀌니 복사해서 붙여넣을땐 공백 지우고 다시 넣을 것

 

$ sudo xsetwacom --list devices parameter
Wacom Intuos PT S 2 Pen stylus   id: 22 type: STYLUS    
Wacom Intuos PT S 2 Pad pad      id: 23 type: PAD       
Wacom Intuos PT S 2 Finger touch id: 24 type: TOUCH     

 

stylus

$ sudo xsetwacom -s --get 22 all
xsetwacom set "22" "Area" "0 0 15200 9500"
xsetwacom set "22" "Button" "1" "button +1 "
xsetwacom set "22" "Button" "2" "button +2 "
xsetwacom set "22" "Button" "3" "button +3 "
xsetwacom set "22" "Button" "8" "button +8 "
xsetwacom set "22" "ToolDebugLevel" "0"
xsetwacom set "22" "TabletDebugLevel" "0"
xsetwacom set "22" "Suppress" "2"
xsetwacom set "22" "RawSample" "4"
xsetwacom set "22" "PressureCurve" "0 0 100 100"
xsetwacom set "22" "Mode" "Absolute"
xsetwacom set "22" "TabletPCButton" "off"
xsetwacom set "22" "Touch" "off"
Property 'Wacom Hardware Touch Switch' does not exist on device.
xsetwacom set "22" "Gesture" "off"
xsetwacom set "22" "ZoomDistance" "0"
xsetwacom set "22" "ScrollDistance" "0"
xsetwacom set "22" "TapTime" "250"
xsetwacom set "22" "CursorProximity" "30"
xsetwacom set "22" "Rotate" "none"
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
xsetwacom set "22" "Threshold" "26"
xsetwacom set "22" "BindToSerial" "0"
xsetwacom set "22" "PressureRecalibration" "on"
xsetwacom set "22" "PanScrollThreshold" "1300"

 

pad

$ sudo xsetwacom -s --get 23 all
Property 'Wacom Tablet Area' does not exist on device.
xsetwacom set "23" "Button" "1" "button +1 "
xsetwacom set "23" "Button" "2" "button +2 "
xsetwacom set "23" "Button" "3" "button +3 "
xsetwacom set "23" "Button" "8" "button +8 "
xsetwacom set "23" "Button" "9" "button +9 "
xsetwacom set "23" "ToolDebugLevel" "0"
xsetwacom set "23" "TabletDebugLevel" "0"
xsetwacom set "23" "Suppress" "2"
xsetwacom set "23" "RawSample" "4"
Property 'Wacom Pressurecurve' does not exist on device.
xsetwacom set "23" "Mode" "Absolute"
Property 'Wacom Hover Click' does not exist on device.
xsetwacom set "23" "Touch" "off"
Property 'Wacom Hardware Touch Switch' does not exist on device.
xsetwacom set "23" "Gesture" "off"
xsetwacom set "23" "ZoomDistance" "0"
xsetwacom set "23" "ScrollDistance" "0"
xsetwacom set "23" "TapTime" "250"
Property 'Wacom Proximity Threshold' does not exist on device.
Property 'Wacom Rotation' does not exist on device.
xsetwacom set "23" "RelWheelUp" "1" "button +5 -5 "
xsetwacom set "23" "RelWheelDown" "2" "button +4 -4 "
xsetwacom set "23" "AbsWheelUp" "3" "button +4 -4 "
xsetwacom set "23" "AbsWheelDown" "4" "button +5 -5 "
xsetwacom set "23" "AbsWheel2Up" "5" "button +4 -4 "
xsetwacom set "23" "AbsWheel2Down" "6" "button +5 -5 "
xsetwacom set "23" "StripLeftUp" "1" "button +4 -4 "
xsetwacom set "23" "StripLeftDown" "2" "button +5 -5 "
xsetwacom set "23" "StripRightUp" "3" "button +4 -4 "
xsetwacom set "23" "StripRightDown" "4" "button +5 -5 "
xsetwacom set "23" "Threshold" "0"
xsetwacom set "23" "BindToSerial" "0"
Property 'Wacom Pressure Recalibration' does not exist on device.
xsetwacom set "23" "PanScrollThreshold" "1000"

 

touch

$ sudo xsetwacom -s --get 24 all
xsetwacom set "24" "Area" "0 0 1520 950"
xsetwacom set "24" "Button" "1" "button +1 "
xsetwacom set "24" "Button" "2" "button +2 "
xsetwacom set "24" "Button" "3" "button +3 "
xsetwacom set "24" "Button" "8" "button +8 "
xsetwacom set "24" "ToolDebugLevel" "0"
xsetwacom set "24" "TabletDebugLevel" "0"
xsetwacom set "24" "Suppress" "2"
xsetwacom set "24" "RawSample" "4"
xsetwacom set "24" "PressureCurve" "0 0 100 100"
xsetwacom set "24" "Mode" "Absolute"
Property 'Wacom Hover Click' does not exist on device.
xsetwacom set "24" "Touch" "on"
xsetwacom set "24" "Gesture" "on"
xsetwacom set "24" "ZoomDistance" "65"
xsetwacom set "24" "ScrollDistance" "18"
xsetwacom set "24" "TapTime" "250"
Property 'Wacom Proximity Threshold' does not exist on device.
xsetwacom set "24" "Rotate" "none"
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Wheel Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
Property 'Wacom Strip Buttons' does not exist on device.
xsetwacom set "24" "Threshold" "0"
xsetwacom set "24" "BindToSerial" "0"
Property 'Wacom Pressure Recalibration' does not exist on device.
xsetwacom set "24" "PanScrollThreshold" "13"

 

테스트 해보니 1238에 맵핑한것 같은데 실제로 적용되는건 1389.. 흐음.. 그 와중에 순서도 안 맞는게 함정

xsetwacom --set 23 Button 1 key a
xsetwacom --set 23 Button 2 key b
xsetwacom --set 23 Button 3 key c
xsetwacom --set 23 Button 8 key d
xsetwacom --set 23 Button 9 key e

 

$ caed // 좌상 좌하 우상 우하

 

맵핑되는것과 윈도우 기본 키를 나열하면 아래와 같고

c -> 3 <- shift e -> 9 <- ctrl
a -> 1 <- alt d -> 8 <- win

 

윈도우 표준 스타일로 설정하려면 아래 명령으로 설정하면 끝

xsetwacom --set 23 Button 1 key alt
xsetwacom --set 23 Button 3 key shift
xsetwacom --set 23 Button 8 key super
xsetwacom --set 23 Button 9 key ctrl

 

우분투 gui로 하려면 아래 명령으로 복구해야 하는데

xsetwacom set "23" "Button" "1" "button +1 "
xsetwacom set "23" "Button" "2" "button +2 "
xsetwacom set "23" "Button" "3" "button +3 "
xsetwacom set "23" "Button" "8" "button +8 "
xsetwacom set "23" "Button" "9" "button +9 "

 

아래의 값을 입력해주면 키와 버튼이 매칭된다... 순서 바꿔가면서 그냥 찾음

어떤 규칙을 어떤 키를 맵핑하는진 모르겠음

xsetwacom set "23" "Button" "1" "button +2 "
xsetwacom set "23" "Button" "3" "button +1 "
xsetwacom set "23" "Button" "8" "button +8 "
xsetwacom set "23" "Button" "9" "button +3 "

 

대충 아래 방식인 것 같은데

물리 3 -> 논리 1 물리 9 -> 논리 3
물리 1 -> 논리 2 물리 8 -> 논리 8

 

[링크 : https://m.blog.naver.com/sw4r/222546153094]

 

+

2025.09.11

wacom 타블렛의 USB 뽑았다 꽂으면 원래대로 돌아간다.

udev쪽을 찾아봐야하나?