class LinuxNativeTypesMap
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
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) |
public static final Controller.Type guessButtonTrait(int button_code)
public static Controller.PortType getPortType(int nativeid)
nativeid - The native port typepublic static Component.Identifier getRelAxisID(int nativeID)
nativeID - The axis type IDpublic static Component.Identifier getAbsAxisID(int nativeID)
nativeID - The native axis type idpublic static Component.Identifier getButtonID(int nativeID)
nativeID - The native button type id