Changed joystick pathname construction to match LaurentGomila's version