forked from qmk/qmk_firmware
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt X at this. ZMK added it recently, and looking into it, this should be a simple consumer page code (0x29D), and doesn't require any special handling, an Apple supported VID:PID combo, or anything like that. Just Extrakey enabled, and the appropriate consumer code. Tested locally.
- Loading branch information
Showing
6 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"keycodes": { | ||
"0x00C3": { | ||
"group": "media", | ||
"key": "KC_GLOBE", | ||
"label": "Apple Globe/FN Key", | ||
"aliases": [ | ||
"KC_GLB" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fb94bc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about including Globe as a modifier so that it can also be used programmatically and with VIA as an advanced code, plus take advantage of all the QMK modifier benefits/functions?
Getting you everything you can do with other modifiers like CTRL: https://github.com/qmk/qmk_firmware/blob/master/docs/feature_advanced_keycodes.md
It would then be super easy to recreate any regular globe shortcuts from VIA such as GLB(KC_N) for Notification Center, etc.
fb94bc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately, the way that everything is set up, there isn't a way to do that, in a large part because there is no room in the keycode mapping to support that.
fb94bc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a shame. Easy enough to use alternatives when compiling QMK, just not as nice for people using only the VIA web or app.
fb94bc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry if this is a newbie comment, but would i need to reflash my keyboard to be able to map the globe key through qmk?
fb94bc4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code isn't in the main QMK repo, so using that wouldn't help you. And yes, you'd have to reflash the firmware