fix x11 joystick driver on dev branch