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

Function GetGamepadDeviceName

engine/hid/src/hid_null.cpp:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 }
75
76 void GetGamepadDeviceName(HContext context, HGamepad gamepad, char name[MAX_GAMEPAD_NAME_LENGTH])
77 {
78 dmStrlCpy(name, "null_device", MAX_GAMEPAD_NAME_LENGTH);
79 }
80
81 bool GetGamepadDeviceGuid(HContext context, HGamepad gamepad, GamepadGuid* guid)
82 {

Callers 5

GetGamepadDeviceNameSDLFunction · 0.70
mainFunction · 0.50
GetGamepadConfigFunction · 0.50
NewGamepadBindingFunction · 0.50

Calls 1

dmStrlCpyFunction · 0.85

Tested by

no test coverage detected