changed the joystick subsystem (based on flask)