Uncaught Exception on adding Remap
I've recently got a new input that I'd like to add to my vJoy and I'm getting a constant error as soon as I go to add a remap. It only seems to happen on my loaded profile. I've had this error previously and the only way to get around it was to create my bindings all over again. If I create a new profile and close Joystick Gremlin and reopen it works fine.
Here is the error;
2025-01-01 15:31:29 ERROR Uncaught exception:
Traceback (most recent call last):
File "gremlin\ui\device_tab.py", line 393, in input_item_selected_cb
File "gremlin\ui\device_tab.py", line 61, in __init__
File "gremlin\ui\device_tab.py", line 274, in redraw
File "container_plugins\basic\__init__.py", line 35, in __init__
super().__init__(profile_data, parent)
File "gremlin\ui\input_item.py", line 635, in __init__
File "gremlin\ui\input_item.py", line 654, in _create_action_tab
File "container_plugins\basic\__init__.py", line 49, in _create_action_ui
widget.redraw()
File "gremlin\ui\input_item.py", line 383, in redraw
File "C:\Program Files (x86)\H2ik\Joystick Gremlin\action_plugins\remap\__init__.py", line 60, in __init__
super().__init__(action_data, parent=parent)
File "gremlin\ui\input_item.py", line 822, in __init__
File "C:\Program Files (x86)\H2ik\Joystick Gremlin\action_plugins\remap\__init__.py", line 134, in _populate_ui
free_inputs = self._get_profile_root().list_unused_vjoy_inputs()
File "gremlin\profile.py", line 1442, in list_unused_vjoy_inputs
KeyError: 2
To note as well this is spammed twice and once the error has occurred I cannot click on that input anymore on that device without the error popping up.
I have tried on both 13.3 and 13.3 debug
This is likely due to an odd configuration of the vJoy device, like non-sequential axes, or similar. So a screenshot of the vJoy setup would be a first step to find out what's going on.
Only thing I think would be odd is the fact that I use 128 buttons. But I've seen other people use this exact configuration and have no issues.
Yeah that vJoy config is perfectly normal and shouldn't cause issues. Can you try with a completely new profile, just to make sure it's not something odd with the existing profile.
Also if you want you can join the hotas discord (https://discord.gg/szqaJE7) and ask for help in the joystick gremlin channel as there are a few people able to help debug these things as well, and usually much quicker than here.