mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 14:15:47 +03:00
Added SteamUtils.SetGameLauncherMode
This commit is contained in:
parent
3b0fa8106c
commit
480137a490
@ -282,5 +282,17 @@ public string FilterText( TextFilteringContext context, SteamId sourceSteamID, s
|
||||
/// returns true if Steam itself is running on the Steam Deck
|
||||
/// </summary>
|
||||
public bool IsRunningOnSteamDeck => Internal.IsSteamRunningOnSteamDeck();
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// In game launchers that don't have controller support you can call this to have
|
||||
/// Steam Input translate the controller input into mouse/kb to navigate the launcher
|
||||
/// </summary>
|
||||
public void SetGameLauncherMode( bool mode ) => Internal.SetGameLauncherMode( mode );
|
||||
|
||||
//public void ShowFloatingGamepadTextInput( TextInputMode mode, int left, int top, int width, int height )
|
||||
//{
|
||||
// Internal.ShowFloatingGamepadTextInput( mode, left, top, width, height );
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
@ -62,6 +62,7 @@ public static string ConvertType( string type )
|
||||
type = type.Replace( "SteamIPAddress_t", "SteamIPAddress" );
|
||||
type = type.Replace( "SteamNetworkingQuickConnectionStatus", "ConnectionStatus" );
|
||||
type = type.Replace( "SteamInputGlyphSize", "GlyphSize" );
|
||||
type = type.Replace( "FloatingGamepadTextInputMode", "TextInputMode" );
|
||||
|
||||
type = type.Replace( "::", "." );
|
||||
|
||||
@ -148,6 +149,7 @@ internal static string Expose( string name )
|
||||
if ( name == "OverlayToStoreFlag" ) return "public";
|
||||
if ( name == "TextFilteringContext" ) return "public";
|
||||
if ( name == "GlyphSize" ) return "public";
|
||||
if ( name == "TextInputMode" ) return "public";
|
||||
|
||||
return "internal";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user