libinput TabletToolAreaRatio pins cursor to 0,0
Edmund Raile
edmund.raile at proton.me
Mon Nov 4 15:25:13 UTC 2024
Hello Mr. Hutterer,
you added the TabletToolAreaRatio option into libinput back in 2017:
https://lists.freedesktop.org/archives/xorg-devel/2017-January/052266.html
I've tried to use it on arch but hit a bug: when I set it, I can not
use the tablet to move the cursor from the top-left corner any more.
I can use a mouse to move the cursor but as soon as the pen gets close
to the tablet, the cursor snaps back into the top-left corner.
My /usr/share/X11/xorg.conf.d/40-libinput.conf has the default tablet
section:
```
Section "InputClass"
Identifier "libinput tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
```
My tablet:
libinput list-devices
Device: Wacom Intuos S Pen
Kernel: /dev/input/event10
Group: 7
Seat: seat0, default
Size: 152x95mm
Capabilities: tablet
Tap-to-click: n/a
Tap-and-drag: n/a
Tap drag lock: n/a
Left-handed: n/a
Nat.scrolling: n/a
Middle emulation: n/a
Calibration: n/a
Scroll methods: none
Click methods: none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles: none
Rotation: n/a
I've created /usr/share/X11/xorg.conf.d/41-wacom.conf with the
contents:
```
Section "InputClass"
Identifier "libinput wacom intuos calibration"
MatchIsTablet "on"
MatchProduct "Wacom Intuos S Pen"
MatchDevicePath "/dev/input/event*"
Option "TabletToolAreaRatio" "5:4"
EndSection
```
Where 5:4 is due to 2x 16:10 (1920x1200) vertical displays.
Changing to the "proper" 20:16 ratio does not help.
I've run `libinput debug-events --device /dev/input/event10` and the
values comming from the driver are still in the range of 0..152 and
0..95 but the cursor won't budge.
Is there anything you could do to help me?
Maybe some commits after yours broke it again?
Kind regards,
Edmund Raile.
More information about the xorg-devel
mailing list