Skip to content
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 support for globe key (🌐︎) for macOS/iPadOS/iOS #16651

Closed
2 of 4 tasks
adiabatic opened this issue Mar 14, 2022 · 14 comments
Closed
2 of 4 tasks

Add support for globe key (🌐︎) for macOS/iPadOS/iOS #16651

adiabatic opened this issue Mar 14, 2022 · 14 comments
Labels
enhancement help wanted stale Issues or pull requests that have become inactive without resolution.

Comments

@adiabatic
Copy link
Contributor

Feature Request Type

  • Core functionality
  • Add-on hardware support (eg. audio, RGB, OLED screen, etc.)
  • Alteration (enhancement/optimization) of existing feature(s)
  • New behavior

Description

Now that Universal Control has been released (in beta) for macOS and iPadOS, I'm getting a chance to use my Ergodox EZ on more than just macOS. However, recent versions of iPadOS (and macOS) use a new modifier button — the globe key (🌐︎). On older Mac keyboards, this functionality is shoved onto the fn key, down in the lower left corner of the keyboard.

At any rate, having a binding for the globe key on macOS is somewhat useful. If your Mac has one, then the keyboard shortcut for Full Screen will be the simple 🌐︎F instead of ⇧⌘F or ⌥⌘F or whatever it is depending on the application. On iPadOS, having a globe key is even more useful — 🌐︎S will open Siri, 🌐︎← will show the previous application, etc.

However, when browsing https://docs.qmk.fm/#/keycodes, I don't see any "globe" or "fn" key listed. Any idea if it'd be possible to add this sort of key to qmk_firmware? I ask, in part, because I've never seen support for Apple's fn keys — which might mean it's some kind of never-before-been-emulated keycode that nobody's been able to tap into, see, and emulate.

@pyrho
Copy link
Contributor

pyrho commented Mar 21, 2022

See #2179 for the discussion and AppleFn.patch for the actual patch. (I guess you can close this) Sorry my brain confused the apple's Fn key with the globe key. But I guess they're both very similar things.

@adiabatic
Copy link
Contributor Author

Hm, pity this issue isn't getting linked from #2179. I'll keep it open just in case it's implemented differently, but I doubt it.

@github-actions
Copy link

github-actions bot commented Aug 5, 2022

This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity occurs.
For maintainers: Please label with bug, in progress, on hold, discussion or to do to prevent the issue from being re-flagged.

@github-actions github-actions bot added the stale Issues or pull requests that have become inactive without resolution. label Aug 5, 2022
@github-actions
Copy link

github-actions bot commented Sep 4, 2022

This issue has been automatically closed because it has not had activity in the last 30 days. If this issue is still valid, re-open the issue and let us know.
// [stale-action-closed]

@github-actions github-actions bot closed this as completed Sep 4, 2022
@stanly0726
Copy link

any solution?

@adiabatic
Copy link
Contributor Author

In Ventura, you can turn the otherwise-useless caps lock key into an fn/globe key:
Screenshot 2023-02-19 at 1 02 20 PM

@ultrasiq
Copy link

In Ventura, you can turn the otherwise-useless caps lock key into an fn/globe key:
Screenshot 2023-02-19 at 1 02 20 PM

THANK YOU

@HVR88
Copy link

HVR88 commented Oct 11, 2023

Check page 76 -> Table 13-3 HID Consumer Page (0x0C) controls for use by keyboards

https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf

0x029D. AC Keyboard Layout Select. ---> Globe Key

@luohda
Copy link

luohda commented Jan 24, 2024

Check page 76 -> Table 13-3 HID Consumer Page (0x0C) controls for use by keyboards

https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf

0x029D. AC Keyboard Layout Select. ---> Globe Key

just used this method to flash to my nuphy keyboard, works wonderfully! thanks!

@adiabatic
Copy link
Contributor Author

https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf#page=86 if you don't want to press ⌘F to search for 029D.

@niruttitime
Copy link

Can anyone share a how-to for this? Seems like we have to use raw_hid_send() in keymap.c but a sample code, if not a step-by-step, would go a long way. Thanks in advance!

@HVR88
Copy link

HVR88 commented Aug 25, 2024

Look over this discussion: https://gist.github.com/fauxpark/010dcf5d6377c3a71ac98ce37414c6c4 - the current releases already work with the required keycode.

@adiabatic
Copy link
Contributor Author

adiabatic commented Aug 25, 2024

Look over this discussion:

Things start to get interesting for us at https://gist.github.com/fauxpark/010dcf5d6377c3a71ac98ce37414c6c4?permalink_comment_id=4753144#gistcomment-4753144. Apparently, the behavior is rather buggy.

Personally, I think I'm going to stick with caplock-as-globe — I use my usual layout in Linux sometimes, and capslock there works great as a compose key, whereas a globe key would be totally useless.

@marcel151
Copy link

marcel151 commented Sep 17, 2024

This is now even more important since Sequoia uses the globe key for window management. Please add it. Setting Caps Lock as Globe key doesn't work in my case for window management, don't know why. It shows Emojis when pressing it, though.

EDIT: You have to let macOS think your keyboard is an offical Apple keyboard to get it to work.
https://publish.obsidian.md/jrd/Globe+Key+QMK

What a bummer... Caps Lock + Ctrl + F for Fullscreen works, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement help wanted stale Issues or pull requests that have become inactive without resolution.
Projects
None yet
Development

No branches or pull requests

8 participants