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

Method get_info

source/MaaKWinControlUnit/Manager/KWinControlUnitMgr.cpp:241–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241json::object KWinControlUnitMgr::get_info() const
242{
243 json::object info;
244 info["type"] = "KWin";
245 info["device_node"] = path_to_utf8_string(device_node_);
246 info["screen_width"] = screen_width_;
247 info["screen_height"] = screen_height_;
248 info["use_win32_vk_code"] = use_win32_vk_code_;
249 return info;
250}
251
252int KWinControlUnitMgr::translate_key(int key) const
253{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected