Open Lolo401 opened 5 hours ago
Note: JG EX m17 is launching just fine.
The button tracking changed from m17 - so this is probably related - and as is typical - works without issues here. I'll add more logging around that particular line.
So looking at the code logic, it would appear that you have devices that appear and disappear once gremlinEx has started because it's not picking up during initialization the VJOY devices that are defined (hence the key exception). I'll change the logic to check for this to happen so it can throw the appropriate error messages rather than blowing up.
The ID check code is in m26: https://github.com/muchimi/JoystickGremlinEx/releases/download/13.40.16ex_m/joystick_gremlin_13_40_16_m26.zip
It may be helpful here as well to understand what you are trying to do. Is this happening with a new profile? An old profile? If so, how old? Did the VJOY setup change in the meantime by adding devices or removing devices or changing their config? Was a device setup as an input device? etc, etc... Are you unplugging or plugging new things in? All these will help find what may be going on. I added code in vjoy remap to automatically re-read vjoy configuration if it's not finding a particular ID and at least not blow up the whole code by throwing an exception, and we can go from there!
Probably linked to issue #179 but posted a new entry as unsure.
The following error popped up whenever JG EX m25 was launched. Acknowledging the error launched JG but clicking on any device tab resulted in the exact same error: