MCPcopy Create free account
hub / github.com/78/tenbox / SetKeyEventCallback

Method SetKeyEventCallback

src/runtime/runtime_service.cpp:135–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void ManagedInputPort::SetKeyEventCallback(KeyCallback cb) {
136 std::lock_guard<std::mutex> lock(mutex_);
137 key_callback_ = std::move(cb);
138}
139
140void ManagedInputPort::SetPointerEventCallback(PointerCallback cb) {
141 std::lock_guard<std::mutex> lock(mutex_);

Callers 1

AttachVmMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected