mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2025-12-06 07:12:01 +01:00
This adds a Steam Shortcuts, Desktop Mode, and X360 Emulation - Supports all Steam Shortcuts (including on-screen keyboard, and brightness) - Supports Desktop mode (with a scroll on left pad and left stick), and trackpoint (on right stick) - Supports X360 mode: hold Options for 1s to switch between Desktop and X360 - Holding Steam button enables Desktop like controls and stops passing all inputs to X360
17 lines
365 B
C#
17 lines
365 B
C#
using System.Diagnostics;
|
|
|
|
namespace CommonHelpers
|
|
{
|
|
public static class Log
|
|
{
|
|
public static void TraceLine(string format, params object?[] arg)
|
|
{
|
|
String line = string.Format(format, arg);
|
|
|
|
Trace.WriteLine(line);
|
|
if (Environment.UserInteractive)
|
|
Console.WriteLine(line);
|
|
}
|
|
}
|
|
}
|