Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
todbot committed Jan 18, 2021
1 parent a151aa1 commit 021695b
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ class Program

static void Main(string[] args)
{
// The code provided will print ‘Hello World’ to the console.
// Press Ctrl+F5 (or go to Debug > Start Without Debugging) to run your app.
Console.WriteLine("Hello World Tod!");
Console.WriteLine("WinHIDdump:");
Console.WriteLine("[{0}]", string.Join(", ", args));

string vidpid = GetArgument(args, "--vidpid");
Console.WriteLine("Got vidpid: " + vidpid);
// Console.WriteLine("Got vidpid: " + vidpid);

var list = DeviceList.Local;
foreach (var hidDevice in list.GetHidDevices())
Expand All @@ -27,9 +26,8 @@ static void Main(string[] args)
Console.WriteLine("Report Descriptor:");
Console.WriteLine(" {0} ({1} bytes)", string.Join(" ", rawReportDescriptor.Select(d => d.ToString("X2"))), rawReportDescriptor.Length);
}
// Console.WriteLine("Press any key to exit");
// Console.ReadKey();

// Go to http://aka.ms/dotnet-get-started-console to continue learning how to build a console app!
}
}
}

0 comments on commit 021695b

Please sign in to comment.