Download Download
Godot Feature Splash
Godot Addon API Docs
DeviceMapping — API

Properties

  • Dictionary[String, Dictionary] action_map = {}
  • DeviceType device_type = <unknown>

Methods

  • void set_device_type(DeviceType type)
  • DeviceType get_device_type()
  • Dictionary _get_action_map(String action)
  • void add_action(String action, String actuator)
  • void remove_action_actuator(String action, String actuator)
  • void remove_action(String action)
  • bool has_action(String action)
  • Array get_actuators_for_action(String action)