update
This commit is contained in:
@@ -91,6 +91,7 @@ func _map_gamepad() -> void:
|
||||
if not InputMap.action_get_events(action).any(func(e): return e is InputEventJoypadButton):
|
||||
var ev := InputEventJoypadButton.new()
|
||||
ev.button_index = pair[1]
|
||||
ev.device = -1 # jedes Gamepad
|
||||
InputMap.action_add_event(action, ev)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user