1
0
mirror of https://github.com/furyfire/LEDNotifier.git synced 2024-09-19 14:42:15 +00:00

Extra help

This commit is contained in:
Jens True 2022-06-20 14:24:16 +00:00
parent 7c314aa3ae
commit 3275965199

@ -5,6 +5,7 @@ byte color_code = 0x0;
if (args.Length != 1) if (args.Length != 1)
{ {
Console.WriteLine("LEDNotifier off | blue | red | green | aqua | purple | yellow | white | random");
Console.WriteLine("No or too many arguments"); Console.WriteLine("No or too many arguments");
return 1; return 1;
} }
@ -48,7 +49,7 @@ switch (args[0])
HidDevice hidDevice; HidDevice hidDevice;
var ret = DeviceList.Local.TryGetHidDevice(out hidDevice, vendorID: 0x1294, productID: 0x1320); var ret = DeviceList.Local.TryGetHidDevice(out hidDevice, vendorID: 0x1294, productID: 0x1320);
if(ret == false) if (ret == false)
{ {
Console.WriteLine("Device not found"); Console.WriteLine("Device not found");
return 1; return 1;