Skip to content

Conversation

@tjone270
Copy link

For some reason this would cause a 10-15 delay on launch on my PC.

I can't see any reason IN_InitJoystick() should be called if in_joystick is set to 0, so skip calling it unless the cvar is non-zero.

For some reason this would cause a 10-15 delay on launch on my PC.

I can't see any reason `IN_InitJoystick()` should be called if `in_joystick` is set to `0`, so skip calling it unless the cvar is non-zero.
@zturtleman
Copy link

You could try downloading the latest SDL 2 release (2.32.4) for win32-x64 and rename SDL2.dll to SDL264.dll and place it in your ioquake3 directory to see if it solves the issue without changing ioquake3.

I've seen workarounds made in SDL for cases of accessing devices (such as keyboards and mice) that cause a 10-15 second delay. So this may be solved by updating SDL or reporting the device causing the issue to SDL to be ignored as a joystick by all SDL applications.

It's useful for a UI to display a list of joysticks even if using a joystick isn't enabled. It's stored in in_availableJoysticks cvar though ioq3's UI doesn't display it.

@NuclearMonster
Copy link
Member

hey @tjone270 can you please try the suggestions from ZTM?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants