-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration OSK
Toggle with M3+F1 or from the tray menu. It follows the modifiers as you press them, so it is the fastest way to see what a layer actually holds.
Everything under "osk" in config.json:
"osk": {
"numpad": true,
"numberRow": true,
"theme": "Sachlich",
"layout": "iso",
"modifierNames": "standard"
}| Option | Values | Meaning |
|---|---|---|
numpad |
true / false
|
show the numeric keypad |
numberRow |
true / false
|
show the number row |
theme |
"Sachlich", "Grey", "NeoBlue", "ColorClassic", "ColorGreen"
|
colour scheme |
layout |
"iso" / "ansi"
|
physical keyboard shape – ISO has the tall Return key and the extra key beside the left Shift |
modifierNames |
"standard" / "three"
|
label the Neo modifiers M3, M4 or Sym, Cur
|
"Sachlich" is the default. It follows the Windows light/dark setting automatically and marks keys the same way the layout sheet does: an accent bar for keys that produce a character, dimmed labels for function keys, a filled background for modifiers, and a dashed outline for unassigned positions. The other four schemes colour keys by finger.
A layer strip appears along the top whenever a layer is locked, naming the layer, its block and the modifier set – Layer 13 · Griechisch · Mod7. The block name comes from the trigger's "name" in locks.
It does not appear while you merely hold Mod3 or Mod4. That was deliberate: it would otherwise open and close on every modifier press.
A live compose preview. While a compose sequence is running, the strip shows the sequence so far, and the keys themselves show what each would do next – which keys continue the sequence, which finish it and produce a character, and which exit a sticky modifier. See Compose.
The on-screen keyboard draws through the font's own cmap table and looks up glyph indices directly, rather than passing text to Windows. That is what lets it show chess pieces, alchemical symbols and Mathematical Alphanumeric characters instead of empty boxes.
It works through a chain of nine fonts, the last of which is Noto Sans Symbols 2, shipped in fonts/ and loaded privately into the process at startup. It is not installed on your system and is removed again when AnaNeo quits. It covers the code point ranges no Windows font does – the alchemical symbols on layer 20 are the reason it is there. It is licensed under the SIL Open Font License 1.1; the text is in fonts/OFL.txt.
If no font in the chain has a glyph, the key shows its code point in small text rather than a box.
Two options open the keyboard by themselves, both off by default:
-
locks.oskAutoShow– while a layer is locked -
compose.oskAutoShow– while a compose sequence is running
Both close it again afterwards, unless it was already open.
What each key shows is computed in a separate module and covered by tests. The drawing itself is not – it links Cairo and paints into a layered window, and it is verified by looking at it. If something appears wrong on screen but the layout sheet shows it correctly, that distinction is where to start looking.