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

Method InitInputThread

source/ControllerSwitch/SwitchVirtualGamepadHandler.cpp:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38Result SwitchVirtualGamepadHandler::InitInputThread()
39{
40 m_inputThreadIsRunning = true;
41 R_ABORT_UNLESS(threadCreate(&m_inputThread, &SwitchVirtualGamepadHandler::InputThreadLoop, this, input_thread_stack, sizeof(input_thread_stack), 0x30, -2));
42 R_ABORT_UNLESS(threadStart(&m_inputThread));
43 return 0;
44}
45
46void SwitchVirtualGamepadHandler::ExitInputThread()
47{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected