Make SteamEnums.InputActionOrigin public and update Generator accordingly to do this automatically in the future

InputActionOrigin is required on the user side so the user can check whether the action origin has changed. This is cheaper than continuously requesting the action glyph. In addition the user requires the action origin to be able to supply their own icons.
This commit is contained in:
Herman Groenenboom 2023-04-07 10:52:41 +02:00
parent a0cb27f324
commit 7c62042af2
2 changed files with 2 additions and 1 deletions

View File

@ -1057,7 +1057,7 @@ public enum InputSourceMode : int
//
// EInputActionOrigin
//
internal enum InputActionOrigin : int
public enum InputActionOrigin : int
{
None = 0,
SteamController_A = 1,

View File

@ -152,6 +152,7 @@ internal static string Expose( string name )
if ( name == "TextFilteringContext" ) return "public";
if ( name == "GlyphSize" ) return "public";
if ( name == "TextInputMode" ) return "public";
if ( name == "InputActionOrigin" ) return "public";
return "internal";
}