Created attachment 2624[details]
Adds Joystick select menu.
Allow joystick to be selected in UI by name, instead of requiring users to use developer mode to list joysticks at startup in console and manually setting joystick number.
The patch builds a list of available joysticks in the engine and saves them in a cvar (in_availableJoysticks), like done with video modes. Replaces 'enable joystick' bool in q3_ui controls menu with a 'select joystick' menu. Also replaces joy_threshold in q3_ui with in_joystickThreshold (which is used by ioq3).
I'm sorry, I don't really like the new joystick menu. It's really not consistent with the rest of the menu design. I added your idea of in_availableJoysticks though, with the only difference that Joysticks are now separated by newlines, just like s_alAvailableDevices. We should make this consistent. Anyways, the rest is up to mod designers.
Created attachment 2624 [details] Adds Joystick select menu. Allow joystick to be selected in UI by name, instead of requiring users to use developer mode to list joysticks at startup in console and manually setting joystick number. The patch builds a list of available joysticks in the engine and saves them in a cvar (in_availableJoysticks), like done with video modes. Replaces 'enable joystick' bool in q3_ui controls menu with a 'select joystick' menu. Also replaces joy_threshold in q3_ui with in_joystickThreshold (which is used by ioq3).