]> git.donarmstrong.com Git - qmk_firmware.git/commit
process_unicode: Add a way to enter unicode symbols by name
authorGergely Nagy <algernon@madhouse-project.org>
Sat, 13 Aug 2016 08:46:38 +0000 (10:46 +0200)
committerGergely Nagy <algernon@madhouse-project.org>
Mon, 15 Aug 2016 08:08:53 +0000 (10:08 +0200)
commitfa06a163607e8c6c4bd0968c2de96a9a298b777c
tree47ddc21952c9319163bb74d4d89ac72d5c56a0fe
parent63e5782d2cdf0ee282ad434c773463d9da9db6b3
process_unicode: Add a way to enter unicode symbols by name

The purpose of this change is to allow keymaps to specify a dictionary
of unicode symbol name to code mappings, and let the person at the
keyboard enter unicode symbols by name.

This is done by having a way to trigger unicode symbol input mode, when
all keys are cached until Esc, Enter or Space are pressed. Once that
happens, we try to look up the symbol from our lookup table. If found,
we erase back, and type the unicode magic in to get that symbol. If not
found, we still erase back, start unicode input mode, and replay what
the user typed in.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Makefile
quantum/process_keycode/process_unicode.c
quantum/process_keycode/process_unicode.h