-
-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to filter libinput by device #77
Comments
A bit more clarification. Seems there is a code that tries to enable filtering at https://github.com/iberianpig/fusuma/blob/master/lib/fusuma.rb#L56-L58. But in my case it doesn't work because usually I'm booting laptop with dock station enabled and mouse attached. At this case
Maybe in addition to filtering out devices that don't have |
Thanks for your suggestion! |
@z0rc |
Prerequisites
libinput-debug-events
worked correctly.gem update fusuma
Description
libinput-debug-events
by default catches all events, in addition to touchpad events there are keyboard, mouse and more.libinput-debug-events
allows to filter those out by using--device
option. This filtering allows to consume less CPU time byfusuma
+libinput-debug-events
. For example, when I plug mouse to laptop and move it relatively quickly in constant mannerfusuma
andlibinput-debug-events
consume about 10-15% of single CPU core.libinput-debug-events --device ...
allows to ignore mouse events and effectively consume zero CPU time on mouse movements.This option is a bit tricky, as user have to know device name before hand. So maybe we can add an advanced option to define
libinput-debug-events
launch parameters?Versions
fusuma: b1ab717
OS: Kubuntu 17.10
libinput: 1.8.4
The text was updated successfully, but these errors were encountered: