Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var reading = Gamepad.GetCurrentReading();
Buttons = reading.Buttons;
RightThumbstickX = reading.RightThumbstickX;
RightThumbstickY = reading.RightThumbstickY;
LeftThumbstickX = reading.LeftThumbstickX;
LeftThumbstickY = reading.LeftThumbstickY;
LeftTrigger = reading.LeftTrigger;
RightTrigger = reading.RightTrigger;
Timestamp = reading.Timestamp;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment