modfied-from-ps2joystick