| 60 | } |
| 61 | |
| 62 | JoystickReader::~JoystickReader() { |
| 63 | m_console->debug("JoystickReader::~JoystickReader()"); |
| 64 | terminate = true; |
| 65 | m_read_joystick_thread->join(); |
| 66 | m_read_joystick_thread = nullptr; |
| 67 | } |
| 68 | |
| 69 | void JoystickReader::loop() { |
| 70 | while (!terminate) { |