MCPcopy Create free account
hub / github.com/defold/defold / GetGamepadUserId

Function GetGamepadUserId

engine/hid/src/hid.cpp:100–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 }
99
100 bool GetGamepadUserId(HContext context, HGamepad gamepad, uint32_t* out)
101 {
102 #if defined(DM_PLATFORM_VENDOR)
103 return dmHID::GetPlatformGamepadUserId(context, gamepad, out);
104 #else
105 return false;
106 #endif
107 }
108
109 void SetGamepadLayoutLegacy(HGamepad gamepad, bool legacy)
110 {

Callers 1

UpdateBindingFunction · 0.85

Calls 1

GetPlatformGamepadUserIdFunction · 0.85

Tested by

no test coverage detected