implements joypad key function, in windows key up/down messge handler.