File tree Expand file tree Collapse file tree 2 files changed +3
-12
lines changed
SerialPrograms/Source/Controllers/KeyboardInput Expand file tree Collapse file tree 2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,8 @@ namespace PokemonAutomation{
1616
1717
1818KeyboardInputController::~KeyboardInputController () = default ;
19- KeyboardInputController::KeyboardInputController (
20- bool enabled,
21- std::chrono::milliseconds retry_delay
22- )
23- : m_retry_delay(retry_delay)
24- , m_stop(false )
19+ KeyboardInputController::KeyboardInputController (bool enabled)
20+ : m_stop(false )
2521{}
2622
2723void KeyboardInputController::start (){
Original file line number Diff line number Diff line change @@ -40,10 +40,7 @@ class ControllerState{
4040
4141class KeyboardInputController {
4242public:
43- KeyboardInputController (
44- bool enabled,
45- std::chrono::milliseconds retry_delay = std::chrono::milliseconds(10 )
46- );
43+ KeyboardInputController (bool enabled);
4744 virtual ~KeyboardInputController ();
4845
4946
@@ -69,8 +66,6 @@ class KeyboardInputController{
6966
7067
7168private:
72- const std::chrono::milliseconds m_retry_delay;
73-
7469 // Controller State
7570 SpinLock m_state_lock;
7671 KeyboardStateTracker m_state_tracker;
You can’t perform that action at this time.
0 commit comments