Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ IsKeyboardConnected
Function
IsKeyboardConnected
engine/hid/src/hid.cpp:129–132 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
127
}
128
129
bool IsKeyboardConnected(HKeyboard keyboard)
130
{
131
return keyboard->m_Connected;
132
}
133
134
bool IsMouseConnected(HMouse mouse)
135
{
Callers
2
TEST_F
Function · 0.85
EngineUpdate
Function · 0.85
Calls
no outgoing calls
Tested by
2
TEST_F
Function · 0.68
EngineUpdate
Function · 0.68