diff options
Diffstat (limited to 'src/input_common/drivers')
| -rw-r--r-- | src/input_common/drivers/gc_adapter.cpp | 4 | ||||
| -rw-r--r-- | src/input_common/drivers/mouse.cpp | 2 | ||||
| -rw-r--r-- | src/input_common/drivers/sdl_driver.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/input_common/drivers/gc_adapter.cpp b/src/input_common/drivers/gc_adapter.cpp index 27a0ffb0d..f4dd24e7d 100644 --- a/src/input_common/drivers/gc_adapter.cpp +++ b/src/input_common/drivers/gc_adapter.cpp | |||
| @@ -90,7 +90,7 @@ GCAdapter::~GCAdapter() { | |||
| 90 | 90 | ||
| 91 | void GCAdapter::AdapterInputThread(std::stop_token stop_token) { | 91 | void GCAdapter::AdapterInputThread(std::stop_token stop_token) { |
| 92 | LOG_DEBUG(Input, "Input thread started"); | 92 | LOG_DEBUG(Input, "Input thread started"); |
| 93 | Common::SetCurrentThreadName("yuzu:input:GCAdapter"); | 93 | Common::SetCurrentThreadName("GCAdapter"); |
| 94 | s32 payload_size{}; | 94 | s32 payload_size{}; |
| 95 | AdapterPayload adapter_payload{}; | 95 | AdapterPayload adapter_payload{}; |
| 96 | 96 | ||
| @@ -214,7 +214,7 @@ void GCAdapter::UpdateStateAxes(std::size_t port, const AdapterPayload& adapter_ | |||
| 214 | } | 214 | } |
| 215 | 215 | ||
| 216 | void GCAdapter::AdapterScanThread(std::stop_token stop_token) { | 216 | void GCAdapter::AdapterScanThread(std::stop_token stop_token) { |
| 217 | Common::SetCurrentThreadName("yuzu:input:ScanGCAdapter"); | 217 | Common::SetCurrentThreadName("ScanGCAdapter"); |
| 218 | usb_adapter_handle = nullptr; | 218 | usb_adapter_handle = nullptr; |
| 219 | pads = {}; | 219 | pads = {}; |
| 220 | while (!stop_token.stop_requested() && !Setup()) { | 220 | while (!stop_token.stop_requested() && !Setup()) { |
diff --git a/src/input_common/drivers/mouse.cpp b/src/input_common/drivers/mouse.cpp index 4909fa8d7..98c3157a8 100644 --- a/src/input_common/drivers/mouse.cpp +++ b/src/input_common/drivers/mouse.cpp | |||
| @@ -37,7 +37,7 @@ Mouse::Mouse(std::string input_engine_) : InputEngine(std::move(input_engine_)) | |||
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | void Mouse::UpdateThread(std::stop_token stop_token) { | 39 | void Mouse::UpdateThread(std::stop_token stop_token) { |
| 40 | Common::SetCurrentThreadName("yuzu:input:Mouse"); | 40 | Common::SetCurrentThreadName("Mouse"); |
| 41 | constexpr int update_time = 10; | 41 | constexpr int update_time = 10; |
| 42 | while (!stop_token.stop_requested()) { | 42 | while (!stop_token.stop_requested()) { |
| 43 | if (Settings::values.mouse_panning && !Settings::values.mouse_enabled) { | 43 | if (Settings::values.mouse_panning && !Settings::values.mouse_enabled) { |
diff --git a/src/input_common/drivers/sdl_driver.cpp b/src/input_common/drivers/sdl_driver.cpp index 5cc1ccbd9..b72e4b397 100644 --- a/src/input_common/drivers/sdl_driver.cpp +++ b/src/input_common/drivers/sdl_driver.cpp | |||
| @@ -436,7 +436,7 @@ SDLDriver::SDLDriver(std::string input_engine_) : InputEngine(std::move(input_en | |||
| 436 | initialized = true; | 436 | initialized = true; |
| 437 | if (start_thread) { | 437 | if (start_thread) { |
| 438 | poll_thread = std::thread([this] { | 438 | poll_thread = std::thread([this] { |
| 439 | Common::SetCurrentThreadName("yuzu:input:SDL"); | 439 | Common::SetCurrentThreadName("SDL_MainLoop"); |
| 440 | using namespace std::chrono_literals; | 440 | using namespace std::chrono_literals; |
| 441 | while (initialized) { | 441 | while (initialized) { |
| 442 | SDL_PumpEvents(); | 442 | SDL_PumpEvents(); |
| @@ -444,7 +444,7 @@ SDLDriver::SDLDriver(std::string input_engine_) : InputEngine(std::move(input_en | |||
| 444 | } | 444 | } |
| 445 | }); | 445 | }); |
| 446 | vibration_thread = std::thread([this] { | 446 | vibration_thread = std::thread([this] { |
| 447 | Common::SetCurrentThreadName("yuzu:input:SDL_Vibration"); | 447 | Common::SetCurrentThreadName("SDL_Vibration"); |
| 448 | using namespace std::chrono_literals; | 448 | using namespace std::chrono_literals; |
| 449 | while (initialized) { | 449 | while (initialized) { |
| 450 | SendVibrations(); | 450 | SendVibrations(); |