public class MicrosoftGamepadXbox360 extends Gamepad
Gamepad.GamepadCallback, Gamepad.Type
a, b, back, circle, cross, dpad_down, dpad_left, dpad_right, dpad_up, dpadThreshold, guide, id, ID_SYNTHETIC, ID_UNASSOCIATED, joystickDeadzone, left_bumper, left_stick_button, left_stick_x, left_stick_y, left_trigger, options, pid, ps, right_bumper, right_stick_button, right_stick_x, right_stick_y, right_trigger, share, square, start, timestamp, touchpad, triangle, user, vid, x, y
Constructor and Description |
---|
MicrosoftGamepadXbox360() |
MicrosoftGamepadXbox360(Gamepad.GamepadCallback callback) |
Modifier and Type | Method and Description |
---|---|
static boolean |
matchesVidPid(int vid,
int pid) |
Gamepad.Type |
type()
Get the type of gamepad as a
Gamepad.Type . |
atRest, callCallback, cleanMotionValues, clearWhitelistFilter, copy, enableWhitelistFilter, fromByteArray, genericToString, getGamepadId, getRobocolMsgType, getUser, isGamepadDevice, pressed, ps4ToString, refreshTimestamp, reset, setGamepadId, setJoystickDeadzone, setTimestamp, setUser, setVidPid, toByteArray, toString, update, update, updateButtonAliases
public MicrosoftGamepadXbox360()
public MicrosoftGamepadXbox360(Gamepad.GamepadCallback callback)
public Gamepad.Type type()
Gamepad
Gamepad.Type
. This method defaults to "UNKNOWN".public static boolean matchesVidPid(int vid, int pid)