/// <summary> /// <para> Convert an origin to another controller type - for inputs not present on the other controller type this will return k_EInputActionOrigin_None</para> /// <para> When a new input type is added you will be able to pass in k_ESteamInputType_Unknown and the closest origin that your version of the SDK recognized will be returned</para> /// <para> ex: if a Playstation 5 controller was released this function would return Playstation 4 origins.</para> /// </summary> public static EInputActionOrigin TranslateActionOrigin(ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) { InteropHelp.TestIfAvailableClient(); return(NativeMethods.ISteamInput_TranslateActionOrigin(CSteamAPIContext.GetSteamInput(), eDestinationInputType, eSourceOrigin)); }
public static EInputActionOrigin GetActionOriginFromXboxOrigin(InputHandle_t inputHandle, EXboxOrigin eOrigin) => default; // 0x00000001807A1230-0x00000001807A1290 public static EInputActionOrigin TranslateActionOrigin(ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) => default; // 0x00000001807A20E0-0x00000001807A2140
public static EControllerActionOrigin GetActionOriginFromXboxOrigin(ControllerHandle_t controllerHandle, EXboxOrigin eOrigin) => default; // 0x000000018094CB20-0x000000018094CB80 public static EControllerActionOrigin TranslateActionOrigin(ESteamInputType eDestinationInputType, EControllerActionOrigin eSourceOrigin) => default; // 0x000000018094D980-0x000000018094D9E0
/// Convert an origin to another controller type - for inputs not present on the other controller type this will return k_EInputActionOrigin_None /// When a new input type is added you will be able to pass in k_ESteamInputType_Unknown amd the closest origin that your version of the SDK regonized will be returned /// ex: if a Playstation 5 controller was released this function would return Playstation 4 origins. public static EInputActionOrigin TranslateActionOrigin(ESteamInputType eDestinationInputType, EInputActionOrigin eSourceOrigin) { return((EInputActionOrigin)0); }