Desktop.Robot
Desktop.Robot copied to clipboard
Key converted wrong on net5 console app
When i write keys i got a wrong output

The same with a string
I can see that it is depending on the keyboard.
I have an Belgium Azerty keyboard.
So when i send "0" i got the "&" instead, that is the key you got on an azerty keyboerd by default (for 0 i have to press the shift key)
Maybe you can have a look at this project: https://github.com/michaelnoonan/inputsimulator This is using SendInput instead of keybd_event. Also keybd_event is depreciated