Click or drag to resize

MappingHelperGetCustomControllerMapInstanceSavedOrDefault Method

Overload List
  NameDescription
Public methodGetCustomControllerMapInstanceSavedOrDefault(Int32, ControllerIdentifier, Int32, Int32)
This can be used to view the Controller Map saved in user data if available or the default Controller Map setup in the Rewired Input Manager. The Controller Map will be first loaded from UserDataStore. If none is found, it will be loaded from the Rewired Input Manager defaults. UserDataStore must implement IControllerMapStore or data cannot be loaded from saved user data. This overload can be used when no Custom Controller is actually connected and available to be used to look up the correct Controller Maps to load. The Controller Map returned by this method is not guarateed to be consistent with the Controller Map that would be loaded were the actual device to be connected. This is due to the fact that different Controller Maps may be loaded depending on the actual device connected, properties returned by this device, the current input source(s) in use, and more factors. This can be used to view the Controller Map saved in user data if available or the default Controller Map setup in the Rewired Input Manager. NOTE: Element indices in ActionElementMaps may not match to to a Controller Map created with the actual controller connected. Do not rely on ActionElementMap.elementIndex being accurate in Controller Maps returned by this method.
Public methodGetCustomControllerMapInstanceSavedOrDefault(Int32, ControllerIdentifier, String, String)
This can be used to view the Controller Map saved in user data if available or the default Controller Map setup in the Rewired Input Manager. The Controller Map will be first loaded from UserDataStore. If none is found, it will be loaded from the Rewired Input Manager defaults. UserDataStore must implement IControllerMapStore or data cannot be loaded from saved user data. This overload can be used when no Custom Controller is actually connected and available to be used to look up the correct Controller Maps to load. The Controller Map returned by this method is not guarateed to be consistent with the Controller Map that would be loaded were the actual device to be connected. This is due to the fact that different Controller Maps may be loaded depending on the actual device connected, properties returned by this device, the current input source(s) in use, and more factors. This can be used to view the Controller Map saved in user data if available or the default Controller Map setup in the Rewired Input Manager. NOTE: Element indices in ActionElementMaps may not match to to a Controller Map created with the actual controller connected. Do not rely on ActionElementMap.elementIndex being accurate in Controller Maps returned by this method.
Public methodGetCustomControllerMapInstanceSavedOrDefault(Int32, CustomController, Int32, Int32)
Gets a copy of a Custom Controller Map. This can be used to view the Controller Map saved in user data if available or the default Controller Map setup in the Rewired Input Manager. The Controller Map will be first loaded from UserDataStore. If none is found, it will be loaded from the Rewired Input Manager defaults. UserDataStore must implement IControllerMapStore or data cannot be loaded from saved user data.
Public methodGetCustomControllerMapInstanceSavedOrDefault(Int32, CustomController, String, String)
Gets a copy of a Custom Controller Map. This can be used to view the Controller Map saved in user data if available or the default Controller Map setup in the Rewired Input Manager. The Controller Map will be first loaded from UserDataStore. If none is found, it will be loaded from the Rewired Input Manager defaults. UserDataStore must implement IControllerMapStore or data cannot be loaded from saved user data.
Top
See Also