pydirectinput
pydirectinput copied to clipboard
keyDown/Up not working for Page Up/Down
With windows applications, e.g. Google Chrome, if I use
pydirectinput.keyDown("pageup")
(and also keyUp) then the actual typed key is '3' (or '9' for pagedown), i.e. the extended scan code (?) attribute seem to be ignored. Briefly scanning how cursor keys are handled, there seems to be a need for similar checking for extended keycodes.
Note: I tested this also with cursor up/down and they work fine.
I't possible that other extended keys don't work as well.