We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 750d85e commit a8bb3c9Copy full SHA for a8bb3c9
action_plugins/remap/__init__.py
@@ -123,6 +123,12 @@ def _populate_ui(self):
123
if self.action_data.parent.tag == "hat_buttons":
124
input_type = InputType.JoystickButton
125
126
+ # Handle obscure bug which causes the action_data to contain no
127
+ # input_type information
128
+ if input_type is None:
129
+ input_type = InputType.JoystickButton
130
+ logging.getLogger("system").warning("None as input type encountered")
131
+
132
# If no valid input item is selected get the next unused one
133
if self.action_data.vjoy_input_id in [0, None]:
134
free_inputs = self._get_profile_root().list_unused_vjoy_inputs()
0 commit comments