Signals | Input

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


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)