change joystick code enum