MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / device_is_compatible

Function device_is_compatible

TactilityKernel/source/device.cpp:280–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280bool device_is_compatible(const struct Device* device, const char* compatible) {
281 if (device->internal->driver == nullptr) return false;
282 return driver_is_compatible(device->internal->driver, compatible);
283}
284
285void device_set_driver_data(struct Device* device, void* driver_data) {
286 device->internal->driver_data = driver_data;

Callers

nothing calls this directly

Calls 1

driver_is_compatibleFunction · 0.85

Tested by

no test coverage detected