fix: build warnings
This commit is contained in:
parent
61124fefd7
commit
86eb2137a3
3 changed files with 7 additions and 4 deletions
|
@ -10,8 +10,8 @@ using wtf.cluster.JoyCon.InputReports;
|
|||
namespace ControllerSlidePresenter.GamepadReader;
|
||||
|
||||
public class JoyConRead : IGamepadReader {
|
||||
public event Action NextSlide;
|
||||
public event Action PrevSlide;
|
||||
public event Action? NextSlide;
|
||||
public event Action? PrevSlide;
|
||||
|
||||
public async Task Read() {
|
||||
Console.OutputEncoding = Encoding.UTF8;
|
||||
|
|
|
@ -4,8 +4,8 @@ using WiimoteLib.NetCore;
|
|||
namespace ControllerSlidePresenter.GamepadReader;
|
||||
|
||||
public class WiimoteRead : IGamepadReader {
|
||||
public event Action NextSlide;
|
||||
public event Action PrevSlide;
|
||||
public event Action? NextSlide;
|
||||
public event Action? PrevSlide;
|
||||
|
||||
public async Task Read() {
|
||||
Wiimote wiimote = new();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue