|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.java.games.input.LinuxNativeTypesMap
class LinuxNativeTypesMap
Mapping utility class between native type ints and string names or Key.Identifiers
| Method Summary | |
|---|---|
static Component.Identifier |
getAbsAxisID(int nativeID)
Gets the identifier for a absolute axis |
static Component.Identifier |
getButtonID(int nativeID)
Gets the identifier for a button |
static Controller.PortType |
getPortType(int nativeid)
Return port type from a native port type int id |
static Component.Identifier |
getRelAxisID(int nativeID)
Gets the identifier for a relative axis |
static Controller.Type |
guessButtonTrait(int button_code)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final Controller.Type guessButtonTrait(int button_code)
public static Controller.PortType getPortType(int nativeid)
nativeid - The native port type
public static Component.Identifier getRelAxisID(int nativeID)
nativeID - The axis type ID
public static Component.Identifier getAbsAxisID(int nativeID)
nativeID - The native axis type id
public static Component.Identifier getButtonID(int nativeID)
nativeID - The native button type id
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||