MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / new_hid_device

Function new_hid_device

deps/SDL2/src/hidapi/linux/hid.c:116–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114}
115
116static hid_device *new_hid_device(void)
117{
118 hid_device *dev = (hid_device *)calloc(1, sizeof(hid_device));
119 dev->device_handle = -1;
120 dev->blocking = 1;
121 dev->uses_numbered_reports = 0;
122 dev->is_bluetooth = 0;
123
124 return dev;
125}
126
127
128/* The caller must free the returned string with free(). */

Callers 1

hid.cFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected