public final class XInputNatives extends Object
| Modifier and Type | Method and Description |
|---|---|
static int |
getLoadedLibVersion() |
static Throwable |
getLoadError()
Retrieves the exception thrown when attempting to load the native library.
|
static boolean |
isGuideButtonSupported() |
static boolean |
isLoaded()
Determines whether the native libraries were loaded successfully.
|
static int |
pollDevice(int playerNum,
ByteBuffer data) |
static int |
setVibration(int playerNum,
int leftMotor,
int rightMotor) |
public static boolean isLoaded()
true if the native libraries were loaded, false otherwisepublic static Throwable getLoadError()
public static int getLoadedLibVersion()
public static boolean isGuideButtonSupported()
public static int pollDevice(int playerNum,
ByteBuffer data)
public static int setVibration(int playerNum,
int leftMotor,
int rightMotor)
Copyright © 2018. All rights reserved.