asus-linux-drivers / asus-numberpad-driver

Maintained feature-rich linux driver for NumberPad(2.0) on Asus laptops. NumberPad(2.0) is illuminated numeric keypad integrated to touchpad which appears when is done tap on top right corner of touchpad for atleast 1s by default (configurable) or slide gesture from top right/left corner to the center, the left shows calc app aswell (configurable).
GNU General Public License v2.0
257 stars 19 forks source link

[Bug]: Clicks triggered when NumberPad is active, on KDE Plasma with Wayland #199

Closed sleddev closed 2 weeks ago

sleddev commented 2 weeks ago

Describe the bug

When the NumberPad is turned on, and enabled_touchpad_pointer is set to 3, the touchpad still registers normal clicks at the same time when I press on the numbers.

Expected behavior

The touchpad's tap-to-click feature is disabled while the NumberPad is active (how it works on Gnome and/or X11)

Relevant log output

No response

Desktop

sleddev commented 2 weeks ago

I have made a fork where I implemented tap-to-click toggling on wayland KDE with qdbus, but I'm not sure how to make it so it still works on gnome and x11

But it does work, so it could be useful: here's my fork

ldrahnik commented 2 weeks ago

@sleddev Your approach with qdbus could be helpful to other not supported feature for KDE, detecting whether is touchpad enabled or disabled and than disabling NumberPad aswell:

  • Disabling the Touchpad (e.g. Fn+special key) disables by default the NumberPad as well (this functionality presently supports only xinput from xorg and gnome via gsettings - can be disabled)

Feel free to look at that. I do not use KDE, personally so I can not test it but I would definitely merge it.

sleddev commented 2 weeks ago

@sleddev Your approach with qdbus could be helpful to other not supported feature for KDE, detecting whether is touchpad enabled or disabled and than disabling NumberPad aswell:

  • Disabling the Touchpad (e.g. Fn+special key) disables by default the NumberPad as well (this functionality presently supports only xinput from xorg and gnome via gsettings - can be disabled)

Feel free to look at that. I do not use KDE, personally so I can not test it but I would definitely merge it.

I've implemented that feature and opened a pull request :)