maps input from a ps2 controller to mouse and keyboard input