mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-06 14:53:48 +00:00
Maybe will show notification on controller changed
This commit is contained in:
parent
17a71dc110
commit
b977003efa
6 changed files with 36 additions and 10 deletions
|
|
@ -1,6 +1,5 @@
|
|||
using CommonHelpers;
|
||||
using ExternalHelpers;
|
||||
using SteamController.Helpers;
|
||||
using SteamController.Profiles;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
|
|
@ -118,6 +117,18 @@ namespace SteamController
|
|||
contextStateUpdate.Enabled = true;
|
||||
contextStateUpdate.Tick += ContextStateUpdate_Tick;
|
||||
|
||||
context.ProfileChanged += (profile) =>
|
||||
{
|
||||
#if false
|
||||
notifyIcon.ShowBalloonTip(
|
||||
1000,
|
||||
TitleWithVersion,
|
||||
String.Format("Selected profile: {0}", profile.Name),
|
||||
ToolTipIcon.Info
|
||||
);
|
||||
#endif
|
||||
};
|
||||
|
||||
stopwatch.Start();
|
||||
|
||||
contextThread = new Thread(ContextState_Update);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue