Commit 5ae0dd4b5223a2002950b831caeb652a44340517

Ryan C. Gordon 2021-07-24T17:44:35

joystick: Split out Linux opening code for reuse by querying code. This prevents an assertion whem LINUX_JoystickGetGamepadMapping tried to open the stick temporarily and messed with global state by doing so. Now the global state is only set in LINUX_JoystickOpen, but the common code is shared by both interfaces. Fixes #4198.