1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/spaceman/2_milk/keymaps/emoji
Ryan 5974d989fe
Normalise Unicode keycodes (#18898)
* `UC_MOD`/`UC_RMOD` -> `UC_NEXT`/`UC_PREV`

* `UNICODE_MODE_*` -> `QK_UNICODE_MODE_*`

* `UC_MAC` -> `UNICODE_MODE_MACOS`

* `UC_LNX` -> `UNICODE_MODE_LINUX`

* `UC_WIN` -> `UNICODE_MODE_WINDOWS`

* `UC_BSD` -> `UNICODE_MODE_BSD`

* `UC_WINC` -> `UNICODE_MODE_WINCOMPOSE`

* `UC_EMACS` -> `UNICODE_MODE_EMACS`

* `UC__COUNT` -> `UNICODE_MODE_COUNT`

* `UC_M_MA` -> `UC_MAC`

* `UC_M_LN` -> `UC_LINX`

* `UC_M_WI` -> `UC_WIN`

* `UC_M_BS` -> `UC_BSD`

* `UC_M_WC` -> `UC_WINC`

* `UC_M_EM` -> `UC_EMAC`

* Docs

* Update quantum/unicode/unicode.h
2022-10-31 21:15:12 +00:00
..
config.h Normalise Unicode keycodes (#18898) 2022-10-31 21:15:12 +00:00
keymap.c
readme.md Normalise Unicode keycodes (#18898) 2022-10-31 21:15:12 +00:00
rules.mk

Emoji Keymap

Picture

Unicode Setup

Unicode input in QMK works by inputting a sequence of characters to the OS, sort of like a macro. Unfortunately, the way this is done differs for each platform. Specifically, each platform requires a different combination of keys to trigger Unicode input. Therefore, a corresponding input mode has to be set in QMK.

Documentation: Feature Unicode

On this keymap the default unicode mode it's UNICODE_MODE_LINUX. You can change it permanently tapping 2 times the KeyOne to select the next mode.

Unicode Mode List

  • UNICODE_MODE_LINUX
  • UNICODE_MODE_MACOS
  • UNICODE_MODE_WINDOWS
  • UNICODE_MODE_WINCOMPOSE

Keymap

To add more functionality to this Minimal Keyboard, it's implemented the tap dance feature, so pressing the same key multiples times will produce different emojis.

Key One

  • 1 Tap: ¯\_(ツ)_/¯
  • 2 Taps: Switch Unicode Input Type

Key Two

  • 1 Tap: ಠ_ಠ
  • 2 Taps: (ノಠ痊ಠ)ノ彡┻━┻
  • 3 Taps: ╭∩╮(-_-)╭∩╮
  • 4 Taps: (づ ̄ ³ ̄)づ
  • 5 Taps: (︺︹︺)