feat: Added wiimote support and cleaned up the project

This commit is contained in:
Gerard Gascón 2024-06-15 01:47:00 +02:00
parent 36574bdf46
commit baf15cdb0f
25 changed files with 263 additions and 69 deletions

14
SlidePresenter/Program.cs Normal file
View file

@ -0,0 +1,14 @@
namespace SwitchSlidePresenter {
internal abstract class Program {
private static async Task Main() {
IGamepadReader? reader = ControllerSelector.GetReader();
if (reader == null) {
Console.WriteLine("Invalid Controller Selected.");
return;
}
SlideSwitcher switcher = new(reader);
await reader.Read();
switcher.Dispose();
}
}
}