Input devices, how to set up the correct way under Wayland and Plasma

Introduction

About me:

I used to run a Debian sid based distro for many years, but then had to take a break from Linux for a couple of years. I decided to give it another try with Kubuntu 24.04 LTS, but encountered a whole lot of problems, so I went to update to 24.10 in order to get a newer version of Plasma.

Some things got better after this, some got worse, so I decided to try and document some of the issues I’m encountering, maybe to provide some help or starting points for others and of course to hopefully get some help myself.

While Linux is generally known for recognizing some hardware “out of the box,” there are still devices and scenarios that are not directly supported. Additionally, the operating system continues to evolve both under the hood and on the surface, making it difficult to find the “right” documentation and set things up accordingly.

Relying on the wrong instructions can quickly and easily ruin the intended configuration. This brief overview aims to help avoid these mistakes.

I am fairly insecure about where to look, so this post is meant to get some help on how to look up some things “the right way”.

Let’s start with input devices

It somehow happened that i have a phalanx of devices I would like to use, they all serve a different purpose in different software scenarios. Unfortunately i ran into some trouble, so I would like to try and sort them out.

General Considerations

  • How can one determine if devices interfere with each other, and how can they be configured to prevent this?

  • Found a bunch of things that might be worth to try, but unsure about it:

    • solaar
    • touchegg
    • evdev?
    • Should one use xinput (xserver-xorg-input-*) under Wayland, or are there now different approaches?
  • Problem 1: No “Test Field” in systemsettings anymore.

    • In the old KDE systemsettings, there used to be a “graphical test field” with a coordinate system to visualize the inputs from various input devices to detect movements and pressed buttons - why is this no longer available?
    • UPDATE! I found that the testfield is now ONLY in the gamecontroller section, it used to be a great help to set up other devices too.
  • Problem 2: Using systemsettings will configure both devices

    • a per device configuration would seem more useful
  • Problem 3:

    • I can’t sort out which device is which, some seem registered as mouse AND touchpad
    • My Cherry keyboard gets registred as mouse as well, is that a “unified receiver thing”, same goes for Logitech devices
    • difficult to determine which is which, even if I plug them in sperately, as some seem to have the same names, is there a way to give them the device names accordingly, so they appear right in systemsettings?

1. Mouse

  • How to detect and Assign Buttons under wayland?

1.1 Logitech MX Master 3s

  • Configure the second scroll wheel (seems to work in certain programs, like firefox and libreoffice, but not in others, is that program side?)
  • Recognize and set up the touchpad (built into the mouse), as of now it only get’s recognized as a button, same as an extra button on the Elecom mouse, see below.

1.2 Elecom Huge

  • Again, detect and assign buttons, best as per device.
  • Works out of the box with 7 of the 8 buttons in system settings, no idea how to register the 8th button to appear in systemsettings.

2. Touchpad

  • Disable While Typing
  • Multitouch
    • xserver-xorg-input-synaptics?
  • Gestures
    • Pinch
    • Twist
    • 2/3/4 finger gestures

3. Space Navigator

  • System-wide usage?

4. Wacom Bamboo Pen + Touch (MTE-450)

  • Missing touchpad
  • Relative/absolute mode
  • Pressure sensitivity controls

4. Logitech Wireless Gamepad F710

  • Seens to work nicely, though I often find that it only becomes available after pressing a certain button, “A”, I assume.

Links

I hope none of the above gets considered as nagging, I am lost in a mix of memories of how stuff worked in the olden days and overwhelmed with changes and new features and pretty much lost on how and where to look up the correct way to configure things. I’m still amazed how much just works out of the box, as compared to Windows where you have to install driver and some software in order to get the device to work with all their functions.

1 Like

Hi there,

not at all. Your feedback is valuable!

The KDE community has elected working on input devices as one of its 3 goals.

If you are interested in helping out, you can find our initial proposal here, we have a task with input devices we’d like to support.
You can also find us in our Matrix channel: https://go.kde.org/matrix/#/#kde-input:kde.org

Afaik on wayland libinput is used. Troubleshooting — libinput 1.26.2 documentation

Which devices are you talking about? Mice? Tablets? Generally there should already be per device configuration support.

Yeah that is an known issue, that is sadly not trivial to fix. But its tracked and will be fixed eventually!

I believe that’s a feature that’s only available on 6.2 and later. Currently not per device, but there are plans to make this per device.

What do you mean with space navigator?

Tablet:

Pressure sensitivity will be in 6.3.
Relative mode is beeing worked on and hopefully ships with 6.3.

See the blog post of KDE developer redstrate for more infos about tablets.

Sorry for not answering all your questions right now. Ill try to follow up eventually :slight_smile:

Woah, Duha!

First of, thank you very much for taking the time and work through my wall of text and providing me with all the feedback and helpful insights, very much appreciated. English ain’t my mother tongue, i will try to provide more info as exact as possible. :smiley:

Let me read up and come back to you. :slight_smile:

Configure extra buttons

I do have a configure extra buttons section in systemsettings, (plasma 6.1.5 under Kubuntu 24.10 and Wayland), but the Elecom Huge mouse has a whopping 8! buttons.

5 of them work right out of the box:

leftclick, rightclick, forth, back buttons. + mousewheel (including left + right tilt + middleclick all work fine.

(according to the manufacturer, that counts as five, hehe)

That leaves 3 buttons:
FN 1+2, which are left of the trackball and FN 3, which is right of the right mouse button.

FN 1+2 can be configured in systemsettings, FN 3 just doesn’t get registered if you try to assign it the same way.

Link to the device:
[HUGE Wired Trackball • ELECOM USA • Better Being](https://Elecom Huge)

Unfortunately FN 1 gets assigned in a way, that it is the same as the “touch” button on the Logitech Master 3s, see below.

Logitech Master 3s:

The Logitech Master 3s comes with 2 mouse wheels, one regular and one for left/right scrolling, it might be useful if you could configure the second one for, lets say switching apps, desktop or activities. (It works in situations where the “page” is wider than the screen, like in firefox or calc, but i didn’t notice it can be configured for something else.

Now the “touch” button:
There is an additional button, where the thumb rests, and from what i have read, you can configure gestures there, touch button + up, down, left, right, I assume that’s why I find a “Logitech USB receiver” under touchpad.

I am very well aware that this is far beyond than standard usecases, I just thought the info might be helpful. :wink:

Link to the Logitech MX Master 3s:
https://www.logitech.com/en-us/products/mice/mx-master-3s.910-006556.html

So at the moment, if I configure FN 1 on the Elecom mouse, the Keyboard shortcut gets also assigned to the “touch” button of the Logitech Master, I guess the per device doesn’t work because it’s beyond the number of buttons a normal mouse has? :wink:

The part with the touch + gesture button on the Logitech Master just occured to me, I haven’t tried that on Windows yet, because the Logitech software is usually a quite horrible thing to have on your system. But i really think that is why a Logitech receiver appears under touchpad in systemsettings, i haven’t configured the buttons on the Wacom Bamboo tablet yet, because the touchpad there is missing for, so i first wanted to find out if there is another driver/option to get that work. I would assume, that if I do the Logitech Master gets some of the stuff assigned to the touch part as well, I can test that later on and provide with some feedback about it.

The Space Navigator is a so called 3D mouse with 6 NDOF I use it in my 3D programs like blender, google earth or second life. (It works nicely with programs that know about this kind of device, but it would be awesome if i could use it to say, scroll through websites, for instance.

Link to Space Navigator:
https://3dconnexion.com/de/product/spacemouse-compact/

Again, thanks for looking into it, I will now read up your links and see if I can help with providing some feedback.

Kudos :smiley:

Oh, I also noticed, there IS some kind of 3 finger gesture on the touchpad already, 3 finger left/right swipe lets you switch through the virtual desktops, i just didn’t see where you can configure that, it doesn’t seem to be in out of the box systemsettings.

But I read that xserver-xorg-input-synaptics will provide systemsettings with an advanced menu, so i will give that a try and report.

:slight_smile: