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

Method Exit

source/ControllerSwitch/SwitchAbstractedPadHandler.cpp:36–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void SwitchAbstractedPadHandler::Exit()
37{
38 if (DoesControllerSupport(GetController()->GetType(), SUPPORTS_NOTHING))
39 {
40 m_controller->Exit();
41 return;
42 }
43
44 ExitInputThread();
45 ExitOutputThread();
46 m_controller->Exit();
47 ExitAbstractedPadState();
48}
49
50// Used to give out unique ids to abstracted pads
51static std::array<bool, 8> uniqueIDs{};

Callers

nothing calls this directly

Calls 2

DoesControllerSupportFunction · 0.85
GetTypeMethod · 0.45

Tested by

no test coverage detected