What's the best (and reasonably easy) way to write a PS/2 keyboard driver? I already have a console driver and a minimal kstdlib.
Is there a good way to store keymaps?
Unrelated: How do I set fonts on a VGA card without being in real mode?
(This is for WatOS)
Keyboard drivers?
-
- Posts: 1
- Joined: Wed Aug 02, 2017 5:33 am
- Libera.chat IRC: Fresher
- Contact:
Re: Keyboard drivers?
I was also looking for the driver. Thanks
-
- Member
- Posts: 80
- Joined: Wed Aug 09, 2017 7:37 am
Re: Keyboard drivers?
PS2_Keyboard is a great article on things.wat wrote:What's the best (and reasonably easy) way to write a PS/2 keyboard driver? I already have a console driver and a minimal kstdlib.
Is there a good way to store keymaps?
Unrelated: How do I set fonts on a VGA card without being in real mode?
(This is for WatOS)
Here's a short piece of code just to get you started.
Code: Select all
mov al, 0 ; make sure al has nothing in it
in al, 0x60 ; get scancode
cmp al, 0x1E ; scancode for the letter A (scan code set 1)
je firstletter
-
- Posts: 2
- Joined: Tue May 14, 2019 2:04 am
Re: Keyboard drivers?
So nobody noticed spammy porn links above? Put your mouse under "Thanks" and there you'll see colored like a background spammy links
-
- Member
- Posts: 5584
- Joined: Mon Mar 25, 2013 7:01 pm
Re: Keyboard drivers?
You can use the "report post" button to notify moderators without posing a reply in the thread.