public class ParsecGamepadStateMessage
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java , Rococoa, or JNA.
public int id
Unique client-provided index identifying the gamepad.
public short buttons
Bitwise OR of ::ParsecGamepadState values representing buttons pressed.
public short thumbLX
The left thumbstick X axis value between -32768 and 32767.
public short thumbLY
The left thumbstick Y axis value between -32768 and 32767.
public short thumbRX
The right thumbstick X axis value between -32768 and 32767.
public short thumbRY
The right thumbstick Y axis value between -32768 and 32767.
public byte leftTrigger
Value of the left trigger between 0 and 255.
public byte rightTrigger
Value of the right trigger between 0 and 255.
public ParsecGamepadStateMessage()
public ParsecGamepadStateMessage(int id, short buttons, short thumbLX, short thumbLY, short thumbRX, short thumbRY, byte leftTrigger, byte rightTrigger)
id
- Unique client-provided index identifying the gamepad.buttons
- Bitwise OR of ::ParsecGamepadState values representing buttons pressed.thumbLX
- The left thumbstick X axis value between -32768 and 32767.thumbLY
- The left thumbstick Y axis value between -32768 and 32767.thumbRX
- The right thumbstick X axis value between -32768 and 32767.thumbRY
- The right thumbstick Y axis value between -32768 and 32767.leftTrigger
- Value of the left trigger between 0 and 255.rightTrigger
- Value of the right trigger between 0 and 255.public ParsecGamepadStateMessage(com.sun.jna.Pointer peer)