MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / close

Method close

source/MaaKWinControlUnit/Input/UInputController.cpp:54–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void UInputController::close()
55{
56 std::unique_lock<std::mutex> lock(mutex_);
57
58 if (!connected_) {
59 return;
60 }
61
62 destroy_device();
63 connected_ = false;
64 pointer_down_ = false;
65 LogInfo << "UInput device closed";
66}
67
68bool UInputController::connected() const
69{

Callers 4

~RecordControllerMethod · 0.45
shut_downMethod · 0.45
uninit_socketMethod · 0.45
save_screenshotFunction · 0.45

Calls

no outgoing calls

Tested by 1

save_screenshotFunction · 0.36