77 *
88 */
99
10- #include " NintendoSwitch_ProControllerWithScheduler .h"
10+ #include " NintendoSwitch_ControllerWithScheduler .h"
1111
1212namespace PokemonAutomation {
1313namespace NintendoSwitch {
@@ -17,7 +17,7 @@ using namespace std::chrono_literals;
1717
1818
1919
20- ProControllerWithScheduler::ProControllerWithScheduler (Logger& logger)
20+ ControllerWithScheduler::ControllerWithScheduler (Logger& logger)
2121 : SuperscalarScheduler(
2222 logger, Milliseconds(4 ),
2323 make_resource_list ()
@@ -28,15 +28,15 @@ ProControllerWithScheduler::ProControllerWithScheduler(Logger& logger)
2828
2929
3030
31- void ProControllerWithScheduler ::issue_barrier (const Cancellable* cancellable){
31+ void ControllerWithScheduler ::issue_barrier (const Cancellable* cancellable){
3232 std::lock_guard<std::mutex> lg0 (m_issue_lock);
3333 std::lock_guard<std::mutex> lg1 (m_state_lock);
3434 this ->issue_wait_for_all (cancellable);
3535 if (m_logging_suppress.load (std::memory_order_relaxed) == 0 ){
3636 m_logger.log (" issue_barrier()" , COLOR_DARKGREEN);
3737 }
3838}
39- void ProControllerWithScheduler ::issue_nop (const Cancellable* cancellable, Milliseconds duration){
39+ void ControllerWithScheduler ::issue_nop (const Cancellable* cancellable, Milliseconds duration){
4040 std::lock_guard<std::mutex> lg0 (m_issue_lock);
4141 std::lock_guard<std::mutex> lg1 (m_state_lock);
4242 if (cancellable){
@@ -50,7 +50,7 @@ void ProControllerWithScheduler::issue_nop(const Cancellable* cancellable, Milli
5050 );
5151 }
5252}
53- void ProControllerWithScheduler ::issue_buttons (
53+ void ControllerWithScheduler ::issue_buttons (
5454 const Cancellable* cancellable,
5555 Button button,
5656 Milliseconds delay, Milliseconds hold, Milliseconds cooldown
@@ -88,7 +88,7 @@ void ProControllerWithScheduler::issue_buttons(
8888 );
8989 }
9090}
91- void ProControllerWithScheduler ::issue_dpad (
91+ void ControllerWithScheduler ::issue_dpad (
9292 const Cancellable* cancellable,
9393 DpadPosition position,
9494 Milliseconds delay, Milliseconds hold, Milliseconds cooldown
@@ -113,7 +113,7 @@ void ProControllerWithScheduler::issue_dpad(
113113 );
114114 }
115115}
116- void ProControllerWithScheduler ::issue_left_joystick (
116+ void ControllerWithScheduler ::issue_left_joystick (
117117 const Cancellable* cancellable,
118118 uint8_t x, uint8_t y,
119119 Milliseconds delay, Milliseconds hold, Milliseconds cooldown
@@ -140,7 +140,7 @@ void ProControllerWithScheduler::issue_left_joystick(
140140 );
141141 }
142142}
143- void ProControllerWithScheduler ::issue_right_joystick (
143+ void ControllerWithScheduler ::issue_right_joystick (
144144 const Cancellable* cancellable,
145145 uint8_t x, uint8_t y,
146146 Milliseconds delay, Milliseconds hold, Milliseconds cooldown
@@ -166,7 +166,7 @@ void ProControllerWithScheduler::issue_right_joystick(
166166 );
167167 }
168168}
169- void ProControllerWithScheduler ::issue_full_controller_state (
169+ void ControllerWithScheduler ::issue_full_controller_state (
170170 const Cancellable* cancellable,
171171 Button button,
172172 DpadPosition position,
@@ -231,7 +231,7 @@ void ProControllerWithScheduler::issue_full_controller_state(
231231}
232232
233233
234- void ProControllerWithScheduler ::issue_mash_button (
234+ void ControllerWithScheduler ::issue_mash_button (
235235 const Cancellable* cancellable,
236236 Button button, Milliseconds duration
237237){
@@ -259,7 +259,7 @@ void ProControllerWithScheduler::issue_mash_button(
259259 log = false ;
260260 }
261261}
262- void ProControllerWithScheduler ::issue_mash_button (
262+ void ControllerWithScheduler ::issue_mash_button (
263263 const Cancellable* cancellable,
264264 Button button0, Button button1, Milliseconds duration
265265){
@@ -287,7 +287,7 @@ void ProControllerWithScheduler::issue_mash_button(
287287 log = false ;
288288 }
289289}
290- void ProControllerWithScheduler ::issue_mash_AZs (
290+ void ControllerWithScheduler ::issue_mash_AZs (
291291 const Cancellable* cancellable,
292292 Milliseconds duration
293293){
@@ -327,7 +327,7 @@ void ProControllerWithScheduler::issue_mash_AZs(
327327 duration -= std::min (3 *8ms, duration);
328328 }
329329}
330- void ProControllerWithScheduler ::issue_system_scroll (
330+ void ControllerWithScheduler ::issue_system_scroll (
331331 const Cancellable* cancellable,
332332 DpadPosition direction, // Diagonals not allowed.
333333 Milliseconds delay, Milliseconds hold, Milliseconds cooldown
0 commit comments