Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
139
bool IsKeyDown(int keycode) {
140
return (GetKeyState(keycode) & 0x8000) != 0;
141
}
142
143
float GetDeviceScaleFactor() {
144
static float scale_factor = 1.0;
Callers
2
GetCefMouseModifiers
Function · 0.85
GetCefKeyboardModifiers
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected