RainwayInput.Gamepad constructor
A request to bring the virtual gamepad with ID slot
into the state described.
public Gamepad(RainwayXInputButtons Buttons, byte LeftTrigger, byte RightTrigger, short LeftThumbX,
short LeftThumbY, short RightThumbX, short RightThumbY, byte Slot)
parameter | description |
---|---|
Buttons | bitmask of pressed buttons |
LeftTrigger | ranges from 0 (not pressed) to 255 (fully pressed) |
RightTrigger | ranges from 0 (not pressed) to 255 (fully pressed) |
LeftThumbX | ranges from -32768 (left) to 32767 (right)> |
LeftThumbY | ranges from -32768 (up) to 32767 (down) |
RightThumbX | ranges from -32768 (left) to 32767 (right) |
RightThumbY | ranges from -32768 (up) to 32767 (down) |
Slot | gamepad slot |
See Also
- enum RainwayXInputButtons
- record Gamepad
- namespace Rainway.SDK