bugfix and bugnotes
This commit is contained in:
2
TODO.md
2
TODO.md
@@ -1,5 +1,7 @@
|
||||
# For MVP functionality
|
||||
|
||||
- fix coloring issue in UlOS 2 beta 5 (and in OpenOS `dmesg`, it appears color-mapper is wrong)
|
||||
- fix FrostOS crash due to empty syscalls table (unsure what is happening)
|
||||
- make `computer` component use callbacks
|
||||
- make a lot of stuff which likely will need to be indirect actually be indirect (modem comms, computer funcs)
|
||||
- make beeps, power, etc. be callbacks on one shared local state (computer environment)
|
||||
|
||||
@@ -604,6 +604,12 @@ int main(int argc, char **argv) {
|
||||
if(keycode == KEY_ENTER) unicode = '\r';
|
||||
if(keycode == KEY_BACKSPACE) unicode = '\b';
|
||||
if(keycode == KEY_TAB) unicode = '\t';
|
||||
|
||||
bool isCtrlPressed = keybuf[KEY_LEFT_CONTROL].key != 0;
|
||||
if(isCtrlPressed) {
|
||||
if(keycode == KEY_C) unicode = 3;
|
||||
if(keycode == KEY_D) unicode = 4;
|
||||
}
|
||||
}
|
||||
|
||||
nn_pushKeyDown(c, "mainKB", unicode, keycode_to_oc(keycode), player);
|
||||
|
||||
Reference in New Issue
Block a user