Post #64: Some Godot Controller Input Notes
Godot has docs about their various types of inputs. Some notes from the Controllers, gamepads, and joysticks page...
start_joy_vibration()andstop_joy_vibration()used to start and stop vibration (haptic feedback) of a controller- On mobile, this is
vibrate_handheld()
- On mobile, this is
- You can set a "dead zone" so that any small amount of input from a controller is not registered as actual input. This helps handle issues like joystick drifting.
- You should set
Input.ignore_joypad_on_unfocused_applicationtotrueso unfocused apps don't also get the input