steam-deck-tools/SteamController/Profiles/Profile.cs
Kamil Trzciński 10d6c055da Add Process and Steam detection
- This makes to autmatically swittch to controller
  when Playnite Fullscreen is in use.
- This makes to automatically disable when Steam
  is in Big Picture or running Game
- Indicate current status with well distinguishable icons
- Expose all options via Context Menu
2022-11-26 10:19:50 +01:00

24 lines
415 B
C#

namespace SteamController.Profiles
{
public abstract class Profile
{
public enum Status
{
Continue,
Stop
}
public bool RunAlways { get; set; }
public abstract Status Run(Context context);
public virtual void Tick(Context context)
{
}
public virtual void Skipped(Context context)
{
}
}
}