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

Method GetBy

librtt/Input/Rtt_InputAxisCollection.cpp:105–119  ·  view source on GitHub ↗

Fetches an input axis from this collection by its descriptor. @param descriptor A descriptor which uniquely identifies a device's axis input, such as "Joystick 1: Axis 1". @return Returns a pointer to the input axis, if found. Returns NULL if an input axis matching the given descriptor was not found.

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
EqualsMethod · 0.45

Tested by

no test coverage detected