mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-26 14:45:51 +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
|
// EInputActionOrigin
|
||||||
//
|
//
|
||||||
internal enum InputActionOrigin : int
|
public enum InputActionOrigin : int
|
||||||
{
|
{
|
||||||
None = 0,
|
None = 0,
|
||||||
SteamController_A = 1,
|
SteamController_A = 1,
|
||||||
|
@ -152,6 +152,7 @@ internal static string Expose( string name )
|
|||||||
if ( name == "TextFilteringContext" ) return "public";
|
if ( name == "TextFilteringContext" ) return "public";
|
||||||
if ( name == "GlyphSize" ) return "public";
|
if ( name == "GlyphSize" ) return "public";
|
||||||
if ( name == "TextInputMode" ) return "public";
|
if ( name == "TextInputMode" ) return "public";
|
||||||
|
if ( name == "InputActionOrigin" ) return "public";
|
||||||
|
|
||||||
return "internal";
|
return "internal";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user