I think this might be solvable out the box with switching from keysym to keycode... though i've not made a game and haven't even looked at the code