-
-
Notifications
You must be signed in to change notification settings - Fork 39.5k
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
Add DOUBLE_REPORT
to fix RDP modifier key reliability
#19449
base: develop
Are you sure you want to change the base?
Conversation
Thank you for your contribution! |
I've been using it for a while now, and it does work well. However, I'm not as knowledgeable about the USB stuff, so I'd rather defer to others that are much more knowledgeable. Though, the name ... Could be better. |
This solves the issue I was having with Wayland Ubuntu 22.04 terminal not recognising auto shifted keys, thank you |
Other name ideas that include QMK function names in the name:
|
@ntzm Auto Shift doesn't currently apply |
It does not solve the issue if the press/release of the key occurs in a very short time frame. Not sure if that's relevant, but in my case the key is part of a layer activated by an LT key. |
- Use qmk/qmk_firmware#19449 to fix Alt as OSM over RDP. - SPC + LSFT on base layer - OSM for CGAS + arrows on layer 1 - OSM activated by combos in any layer - Use autoshift to deal with Ç and KC_GRV on layer 1
Is there an update on this? |
I had the same issue, so I went back to #19405, and I have never had any issues again. Unfortunately this PR is also stale/awaiting review. |
I was using the |
Description
QMK has trouble sending modifier keys (eg
LSFT(KC_TAB)
) to remote computer GUIs via software such as Microsoft's Remote Desktop, and the local Hyper-V viewer. The modifier is frequently lost, causing the unmodified key to be pressed instead. (Exactly how often the modifiers are lost seems to be environment-specific, but I've experienced as high as 50% for some keys.)This PR adds the ability for QMK to report changes to modifiers separately from changes to keys. Users need only add
#define DOUBLE_REPORT
to theirconfig.h
.In my testing so far, this almost completely resolves the issue for MS RDP and Hyper-V. Out of several hundred keypresses, one might still fail to have the correct modifiers applied. This error rate is below typical human error when typing, so it is essentially transparent in real use.
The other proposed solutions I've seen so far (eg #19405, and code snippets in the issues referenced below) all involve adding a delay somewhere in the QMK code. I found in my own testing that this type of solution is not adequate; it can reduce the frequency of occurrence, but it does not seem to completely eliminate it, and may not work with all QMK features. Tuning the delay is also a hassle, and a given delay amount may not even work optimally for all environments.
This solution may also make #4198 obsolete.
This PR replaces #19436.
Types of Changes
Issues Fixed or Closed by This PR
Checklist