Construct joystick pathnames correctly