Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal exceptions running JoystickList #9

Open
ess-gsmith opened this issue Jul 24, 2020 · 0 comments
Open

Fatal exceptions running JoystickList #9

ess-gsmith opened this issue Jul 24, 2020 · 0 comments

Comments

@ess-gsmith
Copy link

Uncaught exceptions in SDL_Joysticks.cpp for SDL_JOYAXISMOTION, SDL_CONTROLLERAXISMOTION, and SDL_JOYBUTTON* events.

Fault: ASSERT failure in QList::operator[]: "index out of range", file C:\app\Qt\5.15.0\msvc2019_64\include\QtCore/qlist.h, line 579 C:\app\Qt\5.15.0\msvc2019_64\include\QtCore/qlist.h: 579

Example:
In SDL_Joysticks::getAxisEvent():
event.joystick->axes[event.axis] = event.value;

event.joystick->axes.size() == 3
event.axis == 4

Windows 10
Qt 5.15.0 - MSVC 2019
CH Flightstick joystick
Debug mode

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

No branches or pull requests

1 participant