|
static final Controller.Type | guessButtonTrait (int button_code) |
|
static Controller.PortType | getPortType (int nativeid) |
|
static Component.Identifier | getRelAxisID (int nativeID) |
|
static Component.Identifier | getAbsAxisID (int nativeID) |
|
static Component.Identifier | getButtonID (int nativeID) |
|
|
final Component.Identifier | relAxesIDs [] |
|
final Component.Identifier | absAxesIDs [] |
|
final Component.Identifier | buttonIDs [] |
|
Mapping utility class between native type ints and string names or Key.Identifiers
- Author
- Jeremy Booth (jerem.nosp@m.y@ne.nosp@m.wdawn.nosp@m.soft.nosp@m.ware..nosp@m.com)
net.java.games.input.LinuxNativeTypesMap.LinuxNativeTypesMap |
( |
| ) |
|
|
private |
create an empty, uninitialsed map
static Component.Identifier net.java.games.input.LinuxNativeTypesMap.getAbsAxisID |
( |
int |
nativeID | ) |
|
|
static |
Gets the identifier for a absolute axis
- Parameters
-
nativeID | The native axis type id |
- Returns
- The jinput id
static Component.Identifier net.java.games.input.LinuxNativeTypesMap.getButtonID |
( |
int |
nativeID | ) |
|
|
static |
Gets the identifier for a button
- Parameters
-
nativeID | The native button type id |
- Returns
- The jinput id
static Controller.PortType net.java.games.input.LinuxNativeTypesMap.getPortType |
( |
int |
nativeid | ) |
|
|
static |
Return port type from a native port type int id
- Parameters
-
nativeid | The native port type |
- Returns
- The jinput port type
static Component.Identifier net.java.games.input.LinuxNativeTypesMap.getRelAxisID |
( |
int |
nativeID | ) |
|
|
static |
Gets the identifier for a relative axis
- Parameters
-
- Returns
- The jinput id
void net.java.games.input.LinuxNativeTypesMap.reInit |
( |
| ) |
|
|
private |