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

Function DeleteContext

engine/input/src/input.cpp:62–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60 }
61
62 void DeleteContext(HContext context)
63 {
64 if (context->m_HidContext)
65 {
66 dmHID::SetGamepadConnectivityCallback(context->m_HidContext, 0, 0);
67 }
68 delete context;
69 }
70
71 static void MapGamePad(Binding* binding, uint32_t gamepad_index, bool connected);
72

Callers 2

TearDownMethod · 0.50
TEST_FFunction · 0.50

Calls 1

Tested by 2

TearDownMethod · 0.40
TEST_FFunction · 0.40