AntiMicroX / antimicrox

Graphical program used to map keyboard buttons and mouse controls to a gamepad. Useful for playing games with no gamepad support.
GNU General Public License v3.0
2.25k stars 137 forks source link

App shuts down #935

Closed ThisCodeIsFire closed 3 months ago

ThisCodeIsFire commented 3 months ago

Is there an existing issue for this?

Current Behavior

App shuts down when I plug in a different joystick.

Expected Behavior

To stay open and recognize the joystick and function.

Steps To Reproduce

I had joystick 1 set with it, then unplugged it and plugged in joystick 2 for the first time. It works fine with joystick 2, it works fine when no joystick is attached, but now if I unplug joystick 2 and plug 1 back in, the program closes immediately.

Environment

Program Version 3.3.4
Compiled from packaging: GitHub Windows Release
Built Against SDL 2.26.5
Running With SDL 2.26.5
Using Qt 5.15.2
Using Event Handler: SendInput
Host OS: windows Version: 10 Architecture: x86_64

Anything else?

After this issue presented, I tried uninstalling and reinstalling but that did not help.


Upvote & Fund

Fund with Polar

ThisCodeIsFire commented 3 months ago

I think I figured it out. I had a saved settings file that it was pulling from. I deleted it and now I can use both of them.