MCPcopy Create free account
hub / github.com/coronalabs/corona / GetByDescriptorName

Method GetByDescriptorName

librtt/Input/Rtt_InputDeviceCollection.cpp:143–169  ·  view source on GitHub ↗

Fetches a device from this collection by its unique descriptor name. @param name The name provided by the InputDeviceDescriptor.GetInvariantName() function. @return Returns a pointer to the device, if a match was found. Returns NULL if the given descriptor name was not found or if the given argument was NULL.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

GetDescriptorMethod · 0.80
LengthMethod · 0.45
GetInvariantNameMethod · 0.45

Tested by

no test coverage detected