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

Function GetTouchDevice

engine/hid/src/hid.cpp:92–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 }
91
92 HTouchDevice GetTouchDevice(HContext context, uint8_t index)
93 {
94 if (index < MAX_TOUCH_DEVICE_COUNT)
95 return &context->m_TouchDevices[index];
96 else
97 return INVALID_TOUCH_DEVICE_HANDLE;
98 }
99
100 bool GetGamepadUserId(HContext context, HGamepad gamepad, uint32_t* out)
101 {

Callers 4

SetUpMethod · 0.85
TEST_FFunction · 0.85
SetBindingFunction · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 3

SetUpMethod · 0.68
TEST_FFunction · 0.68
TEST_FFunction · 0.68