Skip to content

Commit 7f818a9

Browse files
committed
Move the scheduler wrapping into an intermediate class.
1 parent 8f8e332 commit 7f818a9

File tree

7 files changed

+530
-431
lines changed

7 files changed

+530
-431
lines changed

SerialPrograms/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,8 @@ file(GLOB MAIN_SOURCES
817817
Source/NintendoSwitch/Commands/NintendoSwitch_Messages_Superscalar.h
818818
Source/NintendoSwitch/Controllers/NintendoSwitch_Controller.cpp
819819
Source/NintendoSwitch/Controllers/NintendoSwitch_Controller.h
820+
Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerWithScheduler.cpp
821+
Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerWithScheduler.h
820822
Source/NintendoSwitch/Controllers/NintendoSwitch_KeyboardInput.cpp
821823
Source/NintendoSwitch/Controllers/NintendoSwitch_KeyboardInput.h
822824
Source/NintendoSwitch/Controllers/NintendoSwitch_KeyboardMapping.cpp

SerialPrograms/SerialPrograms.pro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,7 @@ SOURCES += \
405405
Source/NintendoSwitch/Commands/NintendoSwitch_Commands_Routines.cpp \
406406
Source/NintendoSwitch/Commands/NintendoSwitch_Commands_Superscalar.cpp \
407407
Source/NintendoSwitch/Controllers/NintendoSwitch_Controller.cpp \
408+
Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerWithScheduler.cpp \
408409
Source/NintendoSwitch/Controllers/NintendoSwitch_KeyboardInput.cpp \
409410
Source/NintendoSwitch/Controllers/NintendoSwitch_KeyboardMapping.cpp \
410411
Source/NintendoSwitch/Controllers/NintendoSwitch_SerialPABotBase.cpp \
@@ -1554,6 +1555,7 @@ HEADERS += \
15541555
Source/NintendoSwitch/Commands/NintendoSwitch_Messages_PushButtons.h \
15551556
Source/NintendoSwitch/Commands/NintendoSwitch_Messages_Superscalar.h \
15561557
Source/NintendoSwitch/Controllers/NintendoSwitch_Controller.h \
1558+
Source/NintendoSwitch/Controllers/NintendoSwitch_ControllerWithScheduler.h \
15571559
Source/NintendoSwitch/Controllers/NintendoSwitch_KeyboardInput.h \
15581560
Source/NintendoSwitch/Controllers/NintendoSwitch_KeyboardMapping.h \
15591561
Source/NintendoSwitch/Controllers/NintendoSwitch_SerialPABotBase.h \

SerialPrograms/Source/NintendoSwitch/Controllers/NintendoSwitch_Controller.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
*
33
* From: https://github.com/PokemonAutomation/Arduino-Source
44
*
5+
* This is the raw (full) controller API that is exposed to programs.
6+
*
57
*/
68

79
#ifndef PokemonAutomation_NintendoSwitch_Controller_H

0 commit comments

Comments
 (0)