Disable mouse handling
DanViTrinh opened this issue · 6 comments
Is it possible to disable mouse handling, my mouse behaves weirdly with keymapper. I am not using any mouse specific binds. The mouse is too sensitive with keymapper and scrolls up everytime I try to middle click.
keymapper behavior
2024-06-24.20-10-34.mp4
without keymapper
2024-06-24.20-10-50.mp4
I am not using any mouse specific binds.
are you sure? The mouse handling should not be enabled, when you do not have any Button*
and Wheel*
keys in your configuration.
I think the mouse is becoming too sensitive, because the DPI information of the virtual device does not match the rate of the movement events it forwards. Likely this cannot be fixed automatically and requires a custom setting. I have not tried it, but here someone was successful.
The middle click/wheel phenomenon is indeed weird.
Could you please post your configuration and the output of sudo keymapperd -v
.
Not sure whats going on here:
sudo keymapperd -v
ERROR: Initializing keymapper connection failed
My config:
comments start with # or ; and continue until the end of a line
(ControlLeft AltLeft){Any} >> AltRight{Any}
(ControlRight AltRight){Any} >> MetaLeft{Any}
(AltRight){F} >> AltLeft{F}
(AltRight){B} >> AltLeft{B}
Sorry, likely keymapperd
was already running.
So stop it first:
sudo systemctl stop keymapperd
and then run:
sudo keymapperd -v
Waiting for keymapper to connect Resetting configuration
Active contexts received (1)
Updating device list
/dev/input/event0 grabbed (Power Button)
/dev/input/event1 grabbed (Power Button)
/dev/input/event2 ignored (PC Speaker)
/dev/input/event4 grabbed (Eee PC WMI hotkeys)
/dev/input/event8 ignored (HDA NVidia HDMI/DP,pcm=3)
/dev/input/event9 ignored (HDA NVidia HDMI/DP,pcm=7)
/dev/input/event10 ignored (HDA NVidia HDMI/DP,pcm=8)
/dev/input/event11 ignored (HDA NVidia HDMI/DP,pcm=9)
/dev/input/event12 grabbed (Keychron Keychron K2)
/dev/input/event3 ignored (HD-Audio Generic Front Mic)
/dev/input/event5 grabbed (Keychron Keychron K2)
/dev/input/event13 ignored (HD-Audio Generic Rear Mic)
/dev/input/event6 ignored (HD-Audio Generic Line)
/dev/input/event7 ignored (HD-Audio Generic Line Out)
/dev/input/event16 ignored (HD-Audio Generic Front Headphone)
/dev/input/event14 grabbed (Logitech MX Master 2S)
Creating virtual device 'Keymapper'
Entering update loop
Updating device list
/dev/input/event0 already grabbed (Power Button)
/dev/input/event1 already grabbed (Power Button)
/dev/input/event2 ignored (PC Speaker)
/dev/input/event4 already grabbed (Eee PC WMI hotkeys)
/dev/input/event8 ignored (HDA NVidia HDMI/DP,pcm=3)
/dev/input/event9 ignored (HDA NVidia HDMI/DP,pcm=7)
/dev/input/event10 ignored (HDA NVidia HDMI/DP,pcm=8)
/dev/input/event11 ignored (HDA NVidia HDMI/DP,pcm=9)
/dev/input/event12 already grabbed (Keychron Keychron K2)
/dev/input/event3 ignored (HD-Audio Generic Front Mic)
/dev/input/event5 already grabbed (Keychron Keychron K2)
/dev/input/event13 ignored (HD-Audio Generic Rear Mic)
/dev/input/event6 ignored (HD-Audio Generic Line)
/dev/input/event7 ignored (HD-Audio Generic Line Out)
/dev/input/event16 ignored (HD-Audio Generic Front Headphone)
/dev/input/event14 already grabbed (Logitech MX Master 2S)
/dev/input/event15 ignored (Keymapper)
Connection to keymapper reset
Releasing all keys (2)
Resetting configuration
Ungrabbing all devices
Destroying virtual device
---------------
Waiting for keymapper to connect
^C
Thanks, I think I know what's going on. Some buttons of this mouse make it look like a keyboard, and so it is automatically grabbed.
The latest commit hopefully fixes this.
Are you building from source / can you install keymapper-git
from the Arch Linux AUR, or should I create a new release so you can try it out?
The issue seems fixed thank you