Skip to content

Commit

Permalink
change Logitech pipe name number from decimal to hexadecimal
Browse files Browse the repository at this point in the history
  • Loading branch information
Aytackydln committed Jan 1, 2024
1 parent 697e116 commit 774086e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public LogitechPipeListenerService(ILogger logger, Plugin plugin)
_excluded = new();

var id = WTSGetActiveConsoleSessionId();
var pipeName = $"LGS_LED_SDK-{id:00000000}";
var pipeName = "LGS_LED_SDK-" + id.ToString("x8");
_pipeListener = new(pipeName);
_pipeListener.ClientConnected += OnPipeListenerClientConnected;
_pipeListener.ClientDisconnected += OnPipeListenerClientDisconnected;
Expand Down

0 comments on commit 774086e

Please sign in to comment.