Skip to content

Commit 00afc4c

Browse files
committed
re-map cursor keys to match what libcuss from cpmish uses
1 parent 4dea249 commit 00afc4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

runcpm-rp2040-dvi-usb/keyboard-copro/keyboard-copro.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ const char * const lut[] = {
133133
"!@#$%^&*()", /* 0 - shifted numeric keys */
134134
"\r\x1b\10\t -=[]\\#;'`,./", /* 1 - symbol keys */
135135
"\n\x1b\177\t _+{}|~:\"~<>?", /* 2 - shifted */
136-
"\3\4\2\1", /* 3 - arrow keys RLDU */
136+
"\12\13\10\22", /* 3 - arrow keys RLDU */
137137
"/*-+\n1234567890.", /* 4 - keypad w/numlock */
138138
"/*-+\n\xff\2\xff\4\xff\3\xff\1\xff\xff.", /* 5 - keypad w/o numlock */
139139
};

0 commit comments

Comments
 (0)