-
Notifications
You must be signed in to change notification settings - Fork 173
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
capslock = overload(control, esc) ignores scroll wheel events #841
Comments
I cannot reproduce this either in Firefox or my IDE: CTRL (CapsLock) + scrollwheel does not generate a ESC event (confirmed with |
What model mouse do you have? I have an MX Master 3, for which the mouse wheel generates "high accuracy" scroll events, maybe that's the issue. |
I also have a MX Master 3. If that matters, I'm on kernel 6.10.11, Xorg and i3 Window Manager. |
So this is interesting. I booted up my PC to see that the Now, you'd think this is a separate issue to the one I'm describing here, but bear with me. By looking at the logs, I can see that the MX Master mouse was never picked up initially. Neither when the service started, nor when I restarted it. It was only until I disconnected the keyboard did the mouse get detected. Wondering if this somehow fixed the issue I described in the original post - it in fact did. Just like bubbleguuum, I can no longer reproduce this. Since this issue seems to be sporadic, it will pop up again and I'll report back when it does. Interestingly, now the scrollwheel events show up in For reference, here are the service logs for the
|
Yes it seems related to the external keyboard. |
Maybe (as suggested in #815) you should just explicitly ask keyd to pick your mouse up in the |
If that's the case, then my mouse should've never been picked up and that's another bug in keyd. |
FWIW, I changed keyboard to an MX Keys and I'm still having this issue. |
Minimal example config:
When holding caps lock, pressing any keyboard key, and releasing caps lock, only CTRL keys are emitted. When pressing and releasing caps lock without pressing any key, CTRL down+up and ESC down+up events are emitted in rapid succession. This is expected behavior and works as intended.
However, when caps lock is held, the scroll wheel is used (but no key is pressed), and caps lock is released, then keyd also emits ESC (confirmed via
keyd monitor
). This shouldn't happen.CTRL + scrollwheel is commonly used for zooming in and out, and may often be the only way to scroll in some interface using the keyboard without clicking. For example, the embedded version of the Google Maps widget found on many webpages.
I noticed this in the Google Cloud Maps API page, where an example embedded map is displayed inside a modal. Pressing escape closes the modal, while CTRL + scrollwheel zooms the modal. Using the remapped caps lock key to zoom closes the modal as well as zooming.
The text was updated successfully, but these errors were encountered: