Hello guys :)
I am working on a typing speed game for my final semester college project.
My primary system is Debian. However, I am testing my game on Windows 10 too just to make sure everything works fine.
Here's a problem I am currently facing- special characters with shift key combination is not working on Windows 10.
Those characters include <, >, :, ", #, @, and so on... I tried switching the keyboard layout to US QWERTY but no help at all.
Below is a code snippet I use to process key input:
if event is InputEventKey:
character = char(event.scancode)
character = char(event.scancode).to_lower()
The above code works fine on my Debian system. No issue. Special characters are printed
But I don't understand why it's not working on Windows.