Mouse support and other PS/2 shenanigans

1 · Johan Manuel · Oct. 13, 2019, 10 p.m.
At the beginning of last week, I was looking over my keyboard code, still wondering what kind of interface could be exposed to userspace and be useful, and also wondering why my scan codes seemed to have no physical relation to any known keyboard layouts. So I went over to OSDev’s article about PS/2 keyboards, which sent me to the article about the PS/2 controller, and I knew I wanted to do things properly, and at the same time, gain mouse support. Here above you can see keyboard input being wr...