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

Method RawInputWndProc

source/MaaWin32ControlUnit/Input/MessageInput.cpp:1608–1621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1606}
1607
1608LRESULT CALLBACK MessageInput::RawInputWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
1609{
1610 if (msg != WM_INPUT) {
1611 return DefWindowProcW(hwnd, msg, wParam, lParam);
1612 }
1613
1614 auto* inst = s_active_instance_.load();
1615 if (!inst) {
1616 return DefWindowProcW(hwnd, msg, wParam, lParam);
1617 }
1618
1619 inst->handle_rawinput_message(lParam);
1620 return DefWindowProcW(hwnd, msg, wParam, lParam);
1621}
1622
1623MAA_CTRL_UNIT_NS_END

Callers

nothing calls this directly

Calls 2

loadMethod · 0.45

Tested by

no test coverage detected