Change a key on the device
Go to Settings > Edit keyboard layout and press the key you want to change. You see what it types on its own, with Shift, and with AltGr on layouts that use it. Pick a row, type what it should type, then Save. Reset puts one key back and Reset all undoes every change.
Your changes never touch the layout file. They're kept in their own small file in microslate/layouts/changes/, so a newer copy of a layout keeps your fixes, and deleting that file undoes them.
Write your own
A layout file is plain UTF-8 text, one line per key, named after where the key sits on a US keyboard. Lines starting with # are comments. Open any file above in a text editor to see a full example.
name = Deutsch (QWERTZ)
short = DE
base = us
Y = z Z
Q = q Q @
EQUAL = dead:´ dead:`
SEMICOLON = ö Ö
Each key line lists what it types normally, with Shift, with AltGr and with Shift+AltGr. dead:´ makes an accent key (´ then e types é). base = us means you list only the keys that differ from US. A line with a mistake is skipped, and microslate/layout-problems.txt on the card says which line and why.
What's not covered yet
The MicroSlate fonts show Latin and Cyrillic letters. Greek, Hebrew, Arabic and Asian scripts can't be typed yet, and characters the fonts can't show were left out of these files.
The layouts are made from the Linux keyboard definitions (xkeyboard-config, MIT licence), so they type what the same layout types on a Linux PC.