mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 14:15:47 +03:00
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:
parent
a0cb27f324
commit
7c62042af2
@ -1057,7 +1057,7 @@ public enum InputSourceMode : int
|
||||
//
|
||||
// EInputActionOrigin
|
||||
//
|
||||
internal enum InputActionOrigin : int
|
||||
public enum InputActionOrigin : int
|
||||
{
|
||||
None = 0,
|
||||
SteamController_A = 1,
|
||||
|
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user