MCPcopy Create free account
hub / github.com/cathery/sys-con / ExitOutputThread

Method ExitOutputThread

source/ControllerSwitch/SwitchVirtualGamepadHandler.cpp:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void SwitchVirtualGamepadHandler::ExitOutputThread()
63{
64 m_outputThreadIsRunning = false;
65 svcCancelSynchronization(m_outputThread.handle);
66 threadWaitForExit(&m_outputThread);
67 threadClose(&m_outputThread);
68}
69
70static_assert(JOYSTICK_MAX == 32767 && JOYSTICK_MIN == -32767,
71 "JOYSTICK_MAX and/or JOYSTICK_MIN has incorrect values. Update libnx");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected