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

Method Add

librtt/Input/Rtt_PlatformInputDeviceManager.cpp:52–76  ·  view source on GitHub ↗

Adds a new input device to the manager and assigns it a unique ID and descriptor. @param type The type of input device to add such as a keyboard, mouse, gamepad, etc. @return Returns a pointer to a new input device object for the given type.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

GetDescriptorMethod · 0.80
GetCountMethod · 0.45
GetByIndexMethod · 0.45
EqualsMethod · 0.45
GetDeviceTypeMethod · 0.45

Tested by

no test coverage detected