Quick question on keyboard input (not a how to)
Quick question on keyboard input (not a how to)
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?
-
- Member
- Posts: 223
- Joined: Thu Jul 05, 2007 8:58 am
Re: Quick question on keyboard input (not a how to)
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.