feat: simplified and modularized gamepad reader
This commit is contained in:
parent
8717f9d716
commit
0ebb7f6459
4 changed files with 72 additions and 66 deletions
16
Program.cs
16
Program.cs
|
@ -1,16 +1,8 @@
|
|||
using HidSharp;
|
||||
using System.Text;
|
||||
using wtf.cluster.JoyCon;
|
||||
using wtf.cluster.JoyCon.Calibration;
|
||||
using wtf.cluster.JoyCon.ExtraData;
|
||||
using wtf.cluster.JoyCon.HomeLed;
|
||||
using wtf.cluster.JoyCon.InputReports;
|
||||
using wtf.cluster.JoyCon.Rumble;
|
||||
|
||||
namespace SwitchSlidePresenter {
|
||||
namespace SwitchSlidePresenter {
|
||||
class Program {
|
||||
static async Task Main(string[] args) {
|
||||
await JoyConRead.Read();
|
||||
private static async Task Main() {
|
||||
GamepadReader reader = new JoyConRead();
|
||||
await reader.Read();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue