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

Method GetNameFromKeyCode

platform/android/ndk/AndroidKeyServices.cpp:258–278  ·  view source on GitHub ↗

Fetches Corona's unique key name for the given Android key code. @param keyCode Android's unique integer ID for the key. Matches a KEYCODE constant in Android's "KeyEvent" class in Java. @return Returns Corona unique name for the given key code. Returns "unknown" if the given key code is not supported by Corona.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected