Package com.jme3.input
Class KeyNames
java.lang.Object
com.jme3.input.KeyNames
Translate key codes (from 
KeyInput) to descriptive names.
 This class has only static methods, yet it can be instantiated. Here's why:
 It used to be that there was no static getName() method, so the only way to
 get names was to instantiate a KeyNames. As a consequence, we have
 applications and libraries that rely on being able to instantiate this class.- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
KeyNamespublic KeyNames()
 
- 
- 
Method Details- 
getNameObtain a descriptive name for the specified key code. Key codes are defined inKeyInput.- Parameters:
- keyId- a key code (≥0, ≤255)
- Returns:
- the corresponding name, or null if not named
 
 
-