public class XInputGamepad
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
byte |
bLeftTrigger
Physical value of the left trigger on the range [0, 255].
|
byte |
bRightTrigger
Physical value of the right trigger on the range [0, 255].
|
short |
sThumbLX
Physical value of the left thumbstick's "x" axis on the range [-32768, 32767].
|
short |
sThumbLY
Physical value of the left thumbstick's "y" axis on the range [-32768, 32767].
|
short |
sThumbRX
Physical value of the right thumbstick's "x" axis on the range [-32768, 32767].
|
short |
sThumbRY
Physical value of the right thumbstick's "y" axis on the range [-32768, 32767].
|
short |
wButtons
Packed bit-mapped representation of a gamepad's buttons.
|
Constructor and Description |
---|
XInputGamepad() |
public short wButtons
J360.XINPUT_GAMEPAD_DPAD_UP
,
J360.XINPUT_GAMEPAD_DPAD_DOWN
,
J360.XINPUT_GAMEPAD_DPAD_LEFT
,
J360.XINPUT_GAMEPAD_DPAD_RIGHT
,
J360.XINPUT_GAMEPAD_START
,
J360.XINPUT_GAMEPAD_BACK
,
J360.XINPUT_GAMEPAD_LEFT_THUMB
,
J360.XINPUT_GAMEPAD_RIGHT_THUMB
,
J360.XINPUT_GAMEPAD_LEFT_SHOULDER
,
J360.XINPUT_GAMEPAD_RIGHT_SHOULDER
,
J360.XINPUT_GAMEPAD_A
,
J360.XINPUT_GAMEPAD_B
,
J360.XINPUT_GAMEPAD_X
,
J360.XINPUT_GAMEPAD_Y
public byte bLeftTrigger
public byte bRightTrigger
public short sThumbLX
public short sThumbLY
public short sThumbRX
public short sThumbRY