Signals | Input

These require you to run Steam.run_callbacks() in your _process() function to receive them.


input_action_event

  • When callbacks are enabled this fires each time a controller action state changes.
  • Sends back the following data:
    • input_handle (int)
    • event_type (int)
    • action_information (dictionary):
      • analog_action_handle (int)
      • analog_action_data (dictionary):
        • mode (int)
        • x (float)
        • y (float)
        • active (bool)
      • digital_action_handle (int)
      • digital_action_data (dictionary):
        • state (int)
        • active (bool)
    • input_handle (uint64_t)
    • event_type (int)
    • action_information (dictionary):
      • analog_action_handle (uint64_t)
      • analog_action_data (dictionary):
        • mode (int)
        • x (float)
        • y (float)
        • active (bool)
      • digital_action_handle (uint64_t)
      • digital_action_data (dictionary):
        • state (int)
        • active (bool)

input_device_connected

  • Called when a new controller has been connected, will fire once per controller if multiple new controllers connect in the same frame.
  • Sends back the following data:
    • input_handle (int)
    • input_handle (uint64_t)

input_device_disconnected

  • Called when a new controller has been connected, will fire once per controller if multiple new controllers connect in the same frame.
  • Sends back the following data:
    • input_handle (int)
    • input_handle (uint64_t)

input_configuration_loaded

  • Called when a controller configuration has been loaded, will fire once per controller per focus change for Steam Input enabled controllers.
  • Sends back the following data:
    • app_id (int)
    • device_handle (int)
    • config_data (dictionary)
      • mapping_creator (int)
      • major_revision (int)
      • minor_revision (int)
      • uses_steam_input_api (bool)
      • uses_gamepad_api (bool)
    • app_id (uint32_t)
    • device_handle (uint64_t)
    • config_data (dictionary)
      • mapping_creator (uint64_t)
      • major_revision (uint32)
      • minor_revision (uint32)
      • uses_steam_input_api (bool)
      • uses_gamepad_api (bool)