-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Media Eject not Functional on macOS #2383
Comments
I think this is a shortcoming of modifier functions. They only seem to work with keyboard usage page, not consumer usage page. I don't know if there is an exact existing issue for this, but #2329 might be related in cause. |
Using a macro to send modifiers and the eject key as separate press/release events could be a workaround. |
Perhaps I have misunderstood macros, but the following does not provide the behavior that QMK can
PacketLogger seems to strip the payload, so I can't snoop over Bluetooth. I'm not seeing the Media Eject key in the QMK trace using the QMK browser tool. I'm guessing it is swallowed by the OS before getting to the browser. Looking into other ways to diagnose. Suggestions welcomed. |
From what I can dig up in QMK, it uses a different consumer keycode corresponding to |
It works as expected with
The direct form did not immediately work
|
I think that's consistent with my theory above, where modifier functions don't work with consumer keycodes. |
This key code can be sent by QMK and is used by various macOS shortcuts including lock screen and sleep displays. See further https://support.apple.com/en-us/102650
LS(LC(K_EJECT))
can be seen sending and releasing the modifiers, but the key code forK_EJECT
is not seen.C_EJECT
was briefly checked and did not have apparently different behavior. No logs were collected.QMK VIA support works with
C(S(KC_EJCT))
, sleeping the displays as expected. Confirmed on three different keyboards.Deficiency documented at https://zmk.dev/docs/codes/media and confirmed on
The text was updated successfully, but these errors were encountered: