This variation on the board setup is used for playing word games such as Wordle and the NYT Crossword app on an iOS device. You'll connect them by using a USB-C to USB-A cable and an OTG USB-A to Lightning adapter.

Adapter cable connecting NeoTrellis sequencer to iPad
Your iOS phone or tablet may not have a USB port on the bottom but that doesn't mean you can't use it to connect USB devices. Secretly known as a 'Camera Connector' or...
$17.50
In Stock
Angled shot of coiled pink and purple USB cable with USB A and USB C connectors.
This cable is not only super-fashionable, with a woven pink and purple Blinka-like pattern, it's also made for USB C for our modernized breakout boards, Feathers, and...
$2.95
In Stock

For Wordle, you have every key you need right on the board. The alphabet keys, Delete, and Enter are the only keys used in Wordle's on-screen keyboard.

Using the layers allows you to play the crossword puzzle, including navigation. For example, on layer three the A key is used for tab by holding the C mod, which is used to move to the next clue.

You can use arrow keys to move from space to space and switch from across to down. These are also on layer three, so a C mod and the R, D, F, G keys act as arrows.

The full layer mapping is shown in the keyboard.keymap in the code.py.

To use this alternate mapping, simply copy and paste the code here onto your Gherkin as code.py.

# Wordle configuration
from kb import KMKKeyboard
from kmk.keys import KC
from kmk.modules.layers import Layers
from kmk.modules.modtap import ModTap

keyboard = KMKKeyboard()


modtap = ModTap()
layers_ext = Layers()
keyboard.modules = [layers_ext, modtap]

# Cleaner key names
_______ = KC.TRNS
XXXXXXX = KC.NO

FN1_SPC = KC.LT(1, KC.SPC)
FN2_BSPC = KC.LT(2, KC.BSPC)
FN3_C = KC.LT(3, KC.C)
FN4_V = KC.LT(4, KC.V)
CTL_Z = KC.MT(KC.Z, KC.LCTL)
ALT_X = KC.MT(KC.X, KC.LALT)
ALT_N = KC.MT(KC.N, KC.LALT)
CTL_M = KC.MT(KC.M, KC.LCTL)
SFT_ENT = KC.MT(KC.ENT, KC.LSFT)
GUI_B = KC.MT(KC.B, KC.LGUI)



keyboard.keymap = [
    [
        KC.Q,    KC.W,    KC.E,    KC.R,   KC.T,     KC.Y,    KC.U,    KC.I,    KC.O,    KC.P,
        KC.A,    KC.S,    KC.D,    KC.F,   KC.G,     KC.H,    KC.J,    KC.K,    KC.L,    KC.ESC,
        SFT_ENT, CTL_Z,   ALT_X,   FN3_C,   FN4_V,   GUI_B,   ALT_N,   CTL_M,   FN1_SPC, FN2_BSPC
    ],
    [
        KC.N1,   KC.N2,   KC.N3,   KC.N4,   KC.N5,   KC.N6,   KC.N7,   KC.N8,   KC.N9,   KC.N0,
        KC.F1,   KC.F2,   KC.F3,   KC.F4,   KC.F5,   KC.F6,   KC.F7,   KC.F8,   KC.F9,   KC.F10,
        XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC.DEL
    ],
    [
        KC.EXLM, KC.AT,   KC.HASH, KC.DLR,  KC.PERC, KC.CIRC, KC.AMPR, KC.ASTR, KC.LPRN, KC.RPRN,
        KC.F11,  KC.F12,  XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC.GRV,
        XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX
    ],
    [
        XXXXXXX, XXXXXXX, XXXXXXX, KC.UP,   XXXXXXX, KC.MINS, KC.EQL,  KC.LBRC, KC.RBRC, KC.BSLS,
        KC.TAB,  XXXXXXX, KC.LEFT, KC.DOWN, KC.RGHT, KC.COMM, KC.DOT,  KC.SLSH, KC.SCLN, KC.QUOT,
        XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC.LEFT, KC.DOWN, KC.UP,   KC.RGHT
    ],
    [
        XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC.UNDS, KC.PLUS, KC.LCBR, KC.RCBR, KC.PIPE,
        KC.TAB,  XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC.LABK, KC.RABK, KC.QUES, KC.COLN, KC.DQUO,
        XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC.HOME, KC.PGDN, KC.PGUP, KC.END
    ],
]

if __name__ == '__main__':
    keyboard.go()

This guide was first published on Feb 08, 2022. It was last updated on Feb 11, 2022.

This page (Word Game Keyboard) was last updated on Feb 11, 2022.

Text editor powered by tinymce.