MCPcopy 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_FFunction · 0.85
AppendGamepadStatusFunction · 0.85
EngineUpdateFunction · 0.85

Calls

no outgoing calls

Tested by 3

TEST_FFunction · 0.68
AppendGamepadStatusFunction · 0.68
EngineUpdateFunction · 0.68