Skip to content

Commit

Permalink
Merge pull request #1270 from gedankenexperimenter/alias-apple-globe-key
Browse files Browse the repository at this point in the history
Add alias for Apple "globe" key
  • Loading branch information
obra authored Dec 21, 2023
2 parents 7190f1a + d49b2ac commit fe2e3e7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/kaleidoscope/key_defs/aliases.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,12 @@

#define MEH(k) LCTRL(LSHIFT(LALT((k))))
#define HYPER(k) LGUI(MEH((k)))

// Apple's "globe" key (Consumer Control version). This key will bring up the
// emoji tool on MacOS, just like tapping on the `fn` key on an Apple keyboard.
// Unfortunately, it does not act as the `fn` "modifier" when held, however;
// that key has no equivalent in the USB HID tables, so there's no way for a
// third-party keyboard to emulate it. This alias is included here because it
// doesn't have any obvious relationship to the "next keyboard layout select"
// canonical name in the HID tables.
#define Key_Apple_Globe Consumer_AC_NextKeyboardLayoutSelect

0 comments on commit fe2e3e7

Please sign in to comment.