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

Method GetAndroidDeviceId

platform/android/ndk/Rtt_AndroidInputDevice.cpp:74–77  ·  view source on GitHub ↗

Gets the unique integer ID assigned to this input device by Android. This ID is returned by Android's InputDevice.getId() method in Java. @return Returns the unique integer ID assigned to this input device by Android. Returns -1 if this is not an Android managed input device. This indicates that this is a non-HID device added to Corona via the "InputDeviceManager" in Java.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected