Extended Code for Joystick Configuration