CosmosOS / Cosmos

Cosmos is an operating system "construction kit". Build your own OS using managed languages such as C#, VB.NET, and more!
https://www.goCosmos.org
BSD 3-Clause "New" or "Revised" License
2.93k stars 553 forks source link

Keyboard keys not working as expected #2704

Closed slavekrouta closed 11 months ago

slavekrouta commented 1 year ago

Area of Cosmos - What area of Cosmos are we dealing with?

Input - Keyboard

Expected Behaviour - What do you think that should happen?

Keyboard keys should work how expected: A is A, ENTER is ENTER, BACKSPACE is BACKSPACE

Actual Behaviour - What unexpectedly happens?

Keyboard keys are messed up. A acts like ENTER for example.

Reproduction - How did you get this error to appear?

I get the .iso file from \source\repos\project\project\bin\Debug\net6.0\ and write it to an USB with Rufus. Boot into Cosmos on actual hardware. (Yes, I use PS/2 keyboard) (My code is on pastebin and the password is CosmosOS)

Version - Were you using the User Kit or Dev Kit? And what User Kit version or Dev Kit commit (Cosmos, IL2CPU, X#)?

Latest UserKit

ptobuon commented 1 year ago

Try to set the keyboard layout of your keyboard using KeyboardManager.SetKeyLayout() or try with another keyboard