sway: Cannot disable an input device

Using swaymsg input <identifier> events disabled (with identifiers taken from swaymsg -t get_inputs), I can disable many devices (trackpad, mouse, internal and external keyboard) but not my wacom pen. Any idea?

Edit: I was able to disable it with xinput --disable 'Wacom ISDv4 EC Pen' under X11 with libinput, so that should not be a libinput issue.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 21 (20 by maintainers)

Commits related to this issue

Most upvoted comments

After looking at the libinput source, it appears that libinput supports LIBINPUT_CONFIG_SEND_EVENTS_DISABLED for all devices, except tablet tools.

that’s a bug, please file one in libinput for this. tablets have a different backend so I probably forgot to implement this bit there and no-one noticed.

(Context about “doesn’t necessarily mean it’s completely disabled”)

The Send Events Mode is libinput’s terminology for disabling a device. It is more precise in that the device only stops sending events but may not get fully disabled. For example, disabling the touchpad on a Lenovo T440 and similar leaves the top software buttons enabled for the trackpoint. Available options are enabled (send events normally), disabled ( do not send events), disabled on external mouse (disable the device while an external mouse is plugged in).

https://wayland.freedesktop.org/libinput/doc/latest/configuration.html

Please upgrade wlroots.