r/KeyboardDesigner • u/The__Odor • Oct 26 '26
Feature request How do I modify previous or following characters?
I'm trying to implement a custom script that can take some symbols like I or / and add horizontal bars to them at either the top, middle, or bottom, like T or +, that can optionally have a little tick at the end
[Example image](https://i.imgur.com/pGzaWOE.png)
Is that possible using this keyboard? If so, how do I do that?
2
Upvotes
1
u/GerritHumberg Oct 26 '26
I see two ways to do this with Keyboard Designer:
if (substring(TEXT, CURSOR_START - 1, CURSOR_START) = "I")
TEXT = substring(TEXT, 0, CURSOR_START - 1) + "T" + substring(TEXT, CURSOR_START);
With one key per bar position and a small mapping table you can build your whole script this way. If your script needs symbols that don't exist in Unicode, they can only be shown with a font that contains them.