I pressed the button once, but sometimes the button works twice. The PS4 gamepad

v4.4.1.stable.official [49a5bc7b6]

The gamepad is connected by wire. Are there any ways to fix this?

It was fixed thanks to InputEvent

func _unhandled_input(event: InputEvent) -> void:
	if event.is_action_pressed("interact"):
		print(event) -> your function
1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.