I'm writing a custom OS for educational purposes and I'm having issues getting keyboard input.
Everything completely works in OpenOS so everything is hooked up correctly.
My init.lua code
Here is my keyboard code
I've copied the dofile function from OpenOS so it should work with my code.