forked from extern/Unexpected-Keyboard
Allow the newline character '\n' in layouts
This commit is contained in:
parent
0f11a88418
commit
d96414c6c6
@ -467,6 +467,7 @@ public final class KeyValue implements Comparable<KeyValue>
|
|||||||
|
|
||||||
/* Spaces */
|
/* Spaces */
|
||||||
case "\\t": return charKey("\\t", '\t', 0); // Send the tab character
|
case "\\t": return charKey("\\t", '\t', 0); // Send the tab character
|
||||||
|
case "\\n": return charKey("\\n", '\n', 0); // Send the newline character
|
||||||
case "space": return charKey(0xE00D, ' ', FLAG_KEY_FONT | FLAG_SMALLER_FONT | FLAG_GREYED);
|
case "space": return charKey(0xE00D, ' ', FLAG_KEY_FONT | FLAG_SMALLER_FONT | FLAG_GREYED);
|
||||||
case "nbsp": return charKey("\u237d", '\u00a0', FLAG_SMALLER_FONT);
|
case "nbsp": return charKey("\u237d", '\u00a0', FLAG_SMALLER_FONT);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user