feat: simplified and modularized gamepad reader
This commit is contained in:
parent
8717f9d716
commit
0ebb7f6459
4 changed files with 72 additions and 66 deletions
8
GamepadReader.cs
Normal file
8
GamepadReader.cs
Normal file
|
@ -0,0 +1,8 @@
|
|||
namespace SwitchSlidePresenter;
|
||||
|
||||
public abstract class GamepadReader {
|
||||
public abstract event Action NextSlide;
|
||||
public abstract event Action PrevSlide;
|
||||
|
||||
public abstract Task Read();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue