refactor: preprocessors for wiimote and joycon compilation

This commit is contained in:
Gerard Gascón 2024-06-28 15:18:56 +02:00
parent 65d562ee74
commit 72750c3388
11 changed files with 63 additions and 32 deletions

View file

@ -1,4 +1,4 @@
namespace SwitchSlidePresenter.InputSender;
namespace ControllerSlidePresenter.InputSender;
public interface IInputSender {
void NextSlide();

View file

@ -1,5 +1,5 @@
#if OS_LINUX
namespace SwitchSlidePresenter.InputSender;
namespace ControllerSlidePresenter.InputSender;
public class LinuxInputSender : IInputSender {
public void NextSlide() {

View file

@ -1,5 +1,5 @@
#if OS_MAC
namespace SwitchSlidePresenter.InputSender;
namespace ControllerSlidePresenter.InputSender;
public class MacInputSender : IInputSender {
public void NextSlide() {

View file

@ -2,7 +2,7 @@
using System.Runtime.InteropServices;
using Win32Api;
namespace SwitchSlidePresenter.InputSender;
namespace ControllerSlidePresenter.InputSender;
public class WindowsInputSender : IInputSender {
private const uint INPUT_KEYBOARD = 1;