Hi!

I’m currently trying to use my Wacom tablet with 2 monitors on, however the tablet sees both monitor on the pad and the pen can travel to both monitors. I want to limit the tablet to only one monitor, both pad and pen.

I’m on river, so probably any wlroots solution would work.

This is my libinput output:

Device:           Wacom Intuos S 2 Pen
Kernel:           /dev/input/event4
Group:            3
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

Device:           Wacom Intuos S 2 Pad
Kernel:           /dev/input/event6
Group:            3
Seat:             seat0, default
Capabilities:     tablet-pad
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:   n/a
Rotation:         n/a
Pad:
	Rings:   0
	Strips:  0
	Buttons: 4
	Mode groups: 1 (1 modes)

By the way, I like how libinput let my tablet pen to use the cursor differently from the mouse and they don’t interfere with each other.


Edit: I tried this but it didn’t work. riverctl input "Wacom Intuos S 2 Pad" map-to-output DP-1

It seems river handles inputs like this but not sure what’s wrong with this, maybe the name?


Edit 2: Found the solution. Apparently riverctl also can list inputs with this: riverctl list-inputs

I took the name from that list and added to the command above, which is:

riverctl input "tablet-1386-827-Wacom_Intuos_S_2_Pen" map-to-output DP-1

Thanks to the guys at libera-chat channel.

  • muhyb@programming.devOP
    link
    fedilink
    arrow-up
    2
    ·
    11 hours ago

    Found my answer faster than I thought. Thanks though, this might be useful for people who use Hyprland.