Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ GetGamepadButtonCount
Function
GetGamepadButtonCount
engine/hid/src/hid.cpp:114–117 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
112
}
113
114
uint32_t GetGamepadButtonCount(HGamepad gamepad)
115
{
116
return gamepad->m_ButtonCount;
117
}
118
119
uint32_t GetGamepadHatCount(HGamepad gamepad)
120
{
Callers
3
TEST_F
Function · 0.85
AppendGamepadStatus
Function · 0.85
EngineUpdate
Function · 0.85
Calls
no outgoing calls
Tested by
3
TEST_F
Function · 0.68
AppendGamepadStatus
Function · 0.68
EngineUpdate
Function · 0.68