Emoji Search
The emoji layer can find an emoji by a word. Type smil and
the number row shows the smiling faces; press one to type it. The keyboard searches a dictionary
stored in its flash, so the search works without the host app running. The keyboard types the
emoji as Unicode, so the Unicode input mode must be set for
your OS.
Searching
Section titled “Searching”- Open the emoji layer with the emoji key on the bottom letter row of the left half (right of B on Qwerty).
- Tap the mode key at the Tab position. It shows 🔍 with a switch, knob down, in the normal tab mode, and 🥳 with the knob up in search mode.
- Type a word. The letters are at their normal positions, in the keyboard’s current language.
- The number row shows up to 12 results, best match first. Press a result to type that emoji. ◀ (top left) and ▶ (top right) show the previous and next 12 results.

| Key | Search mode |
|---|---|
| Tab position | Mode key: switch between tab mode and search mode |
| Below the mode key | Clear: empty the query |
| Left Shift | Space, to start a second word |
| Right Shift | Backspace |
| Bottom row | Your recently used emoji |
The status display shows the query and the number of results. Switching between the two modes keeps the query. Leaving the emoji layer clears it. The layer opens in the mode you used last, also after a restart. The keyboard saves the mode when the computer goes to sleep or shuts down, and when the keyboard restarts. If you unplug the keyboard first, it opens in the mode it had before.
A letter whose key has a search function (a result, a page key, a recent emoji) moves to the nearest free key on the same half of the keyboard. For example, Russian х and ю on Qwerty move to a free key.
How words match
Section titled “How words match”- A word matches the start of any word in an emoji’s name or keywords:
smilfinds smile and smiling, andcafefinds ☕. - Two words find the emoji that match both:
red heart. - Upper and lower case and accents do not matter.
- When nothing matches, the search allows one wrong, missing or extra letter, or two
swapped letters:
rokcetstill finds 🚀. - The most common English keywords work in every language, so
smilealso works with the German dictionary.
Dictionaries
Section titled “Dictionaries”PolyKybdHost has a dictionary for each of 79 languages, built from the Unicode CLDR emoji names and keywords. English is the default.
- Languages written in another script (Russian, Greek, Arabic, Hindi and others): type the words in that script. English keywords are typed with the same keys that type the Latin letters on a standard keyboard of that language.
- Japanese: type the reading in romaji (
sumairu). The English keywords work too. - Korean: type the jamo keys as on a standard Korean keyboard.
- Chinese: there is a dictionary for each input method: Pinyin (Simplified Chinese, and Hong Kong), Zhuyin (Traditional Chinese, Taiwan) and Cangjie (Hong Kong). Type the key sequence of that method.
Choosing the dictionary
Section titled “Choosing the dictionary”- Settings dialog: Keyboard → Emoji search → Search language. Hosts older than 1.28.2 also have it in the tray menu: Selected Language → Emoji Search Language.
- Command line:
polyctl emoji-dict listshows the dictionaries andpolyctl emoji-dict set dechooses one.polyctl emoji-dictshows which dictionary the keyboard holds.
The host writes the chosen dictionary to the keyboard right away. It is a font-pack bundle of up to 128 KB, so the keycaps show the Updating fonts screen for a short time. Without a host, the keyboard keeps the dictionary it has.
Editing a dictionary
Section titled “Editing a dictionary”Every dictionary is a text file in the firmware repository,
keyboards/polykybd/features/emoji/dict_src/,
with one line per emoji: the codepoint, the name and the keywords, separated by tabs. Keywords
are separated by |:
1F600 grinning face cheerful | cheery | face | grin | grinning | happyAny text editor can change it. A spreadsheet program can open it as tab-separated text; save it back as tab-separated UTF-8 text without quotes.
To use your edited dictionary, build it with the --user option and choose the file in the
host. The build runs in a clone of the firmware repository
(thpoll83/qmk_firmware, branch PolyKybd) and
needs Python 3. Replace de with the id of the dictionary you edited: the file name in
dict_src/ without .tsv, as polyctl emoji-dict list shows it.
git clone --depth 1 -b PolyKybd https://github.com/thpoll83/qmk_firmware.gitcd qmk_firmware/keyboards/polykybd/features/emoji# edit dict_src/de.tsv, then:python3 emoji_dict.py build de --user -o ~/my-de.plydpolyctl emoji-dict file ~/my-de.plydIn the Settings dialog, set Keyboard → Emoji search → Own dictionary file instead of the
polyctl command.
- After the next edit, build the file again and choose it again. Choosing the file that is already in use writes it to the keyboard again.
- Clearing Own dictionary file, or
polyctl emoji-dict file --clear, returns to a dictionary that ships with the host. - If the host cannot read the file, or the file is not a dictionary, it refuses the file, writes
nothing, and the keyboard keeps its dictionary.
polyctl emoji-dict fileprints the reason. - If a file you chose earlier is moved, deleted or replaced by one that is not a dictionary, the
host stops writing it.
polyctl emoji-dictshows the reason.
To change a dictionary for everyone, open a pull request with the edited file. The firmware’s
keyboards/polykybd/docs/features/emoji-search.md
lists the steps.