
Godot Addon API Docs
InputUtils — API
Properties
-
Dictionary[String, DeviceMapping] DEFAULT_MAPPINGS = {...}
Methods
-
float get_raw_standard_actuator_value(InputEvent event)
-
String get_prefix_for_event(InputEvent event)
-
String get_standard_actuator_name(InputEvent event)
-
String get_postfix_for_value(float value)
-
String get_full_actuator_name(String prefix, String actuator_name, String postfix)
-
String get_counterpart_postfix(String postfix)
-
float get_mouse_delta_by_actuator(String actuator, Vector2 delta_vector)
-
float get_joy_axis_value(int device_index, String actuator_name)
-
Dictionary[String, float] get_actuator_values(InputEvent event)
-
void apply_input_to_device(InputEvent event, Device device)
-
void apply_input_to_device_list(InputEvent event, Device[] device_list)
-
void apply_input_to_mapping_action(InputEvent event, DeviceMapping mapping, String action)
-
String get_controller_type(int device_index)
-
DeviceMapping get_controller_mapping(int device_index)
-
DeviceProxy get_device_proxy(int device_index, DeviceMapping mapping, bool mouse_enabled = false)
-
int get_device_index_for_player_index(int player_index)