MCPcopy Create free account
hub / github.com/cztomczak/cefpython / IsKeyDown

Function IsKeyDown

src/subprocess/main_message_loop/util_win.cpp:139–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139bool IsKeyDown(int keycode) {
140 return (GetKeyState(keycode) & 0x8000) != 0;
141}
142
143float GetDeviceScaleFactor() {
144 static float scale_factor = 1.0;

Callers 2

GetCefMouseModifiersFunction · 0.85
GetCefKeyboardModifiersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected