mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-13 15:18:07 +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 @@ namespace Steamworks
|
||||
//
|
||||
// EInputActionOrigin
|
||||
//
|
||||
internal enum InputActionOrigin : int
|
||||
public enum InputActionOrigin : int
|
||||
{
|
||||
None = 0,
|
||||
SteamController_A = 1,
|
||||
|
@ -152,6 +152,7 @@ public static class Cleanup
|
||||
if ( name == "TextFilteringContext" ) return "public";
|
||||
if ( name == "GlyphSize" ) return "public";
|
||||
if ( name == "TextInputMode" ) return "public";
|
||||
if ( name == "InputActionOrigin" ) return "public";
|
||||
|
||||
return "internal";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user