Here is another stupid post from me.
This time, I require help in making keyboard drivers. NO NO NO! I have already made a working keyboard driver and user input functions (getch, getline etc).
I want help in that the scancode I am using are working on normal computer and VMs. But because I use my PC from my mobile via RDP (my parents wont allow me to sit on pc for long :3 ), when I give input in any VM via RDP, it seems my scancodes are not good for them. for example, on qemu, on any key I press (in rdp, on real keyboard, its perfect), I only get one character while none in virtual box and VMWARE requires completely different set of scancode-to-key tables.
Can you all please provide me with different-different scancode tables so that my OS can be flexible, and also a way to check which scancode set works for a system (some type of calibration maybe :/ )
Or else, I think the problem is due to it not being a real ps/2 or ps/2 emulated keyboard. But other operating systems like Linux etc works well on VMs via rdp :/ how to make a driver for it??
Ignore my level of stupidity, am still a small kid :3
Need Help making Keyboard drivers
-
- Member
- Posts: 73
- Joined: Wed Dec 23, 2015 10:42 pm
Need Help making Keyboard drivers
The best method for accelerating a computer is the one that boosts it by 9.8 m/s2.
My OS : https://github.com/AshishKumar4/Aqeous
My OS : https://github.com/AshishKumar4/Aqeous
- BrightLight
- Member
- Posts: 901
- Joined: Sat Dec 27, 2014 9:11 am
- Location: Maadi, Cairo, Egypt
- Contact:
Re: Need Help making Keyboard drivers
I can't recall where I read this, and I'm not entirely sure of this, but RDP doesn't send standard scancodes; instead it sends scancodes that map to virtual key codes. Here is a list of virtual key codes. I guess, you'll need some way to know if your OS is running with a physical keyboard or under RDP.
You know your OS is advanced when you stop using the Intel programming guide as a reference.
-
- Member
- Posts: 73
- Joined: Wed Dec 23, 2015 10:42 pm
Re: Need Help making Keyboard drivers
lol and how to get to know that? any idea :/
The best method for accelerating a computer is the one that boosts it by 9.8 m/s2.
My OS : https://github.com/AshishKumar4/Aqeous
My OS : https://github.com/AshishKumar4/Aqeous