There is one more flaw with keyevent in Windows. The QWERTZ-keyboard layout isn't working for me. With the German and US keyboard layouts I get the same result, when I press the y-key on a QWERTZ keyboard:
print kc,ks,t$,k,x,y,xr,yr
44 122 z 0 1 0 0 0
The SDL_Keycode (in keyevent: ks) should be different for different keyboard mappings, only the SDL_SCANCODE (in keyevent: kc) should be unchanged.
This is the probably unresolved issue mentioned in #14
There is one more flaw with keyevent in Windows. The QWERTZ-keyboard layout isn't working for me. With the German and US keyboard layouts I get the same result, when I press the y-key on a QWERTZ keyboard:
print kc,ks,t$,k,x,y,xr,yr
44 122 z 0 1 0 0 0
The SDL_Keycode (in keyevent: ks) should be different for different keyboard mappings, only the SDL_SCANCODE (in keyevent: kc) should be unchanged.
This is the probably unresolved issue mentioned in #14