Page 1 of 1
Quick question on keyboard input (not a how to)
Posted: Sat Oct 14, 2017 8:38 am
by Darkpony
So i'm about to get started on keyboard input on my bare bones OS. I feel confident I have enough information on this site as well as others to make the driver. However, all the documentation has been for a PS/2 keyboard. I am currently using a newer laptop to write this kernel. What kind of issues should i expect?
Re: Quick question on keyboard input (not a how to)
Posted: Sat Oct 14, 2017 9:16 am
by davidv1992
That depends, some laptops actually use PS/2 internally even today (I have one that is ~3 years old that does), in which case everything will work as you expect. For a laptop with usb for its internal keyboard, all bets are off, it might have PS/2 emulation that works, or it could be completely borked. Of course, all this matters only for when you start testing on bare hardware. The big emulators (bochs, qemu, virtualbox) all have good PS/2 emulation, so things will work fine on that.