Quick question on keyboard input (not a how to)

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Darkpony
Posts: 7
Joined: Sun Sep 24, 2017 8:21 am
Libera.chat IRC: Darkpony

Quick question on keyboard input (not a how to)

Post 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?
davidv1992
Member
Member
Posts: 223
Joined: Thu Jul 05, 2007 8:58 am

Re: Quick question on keyboard input (not a how to)

Post 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.
Post Reply