A program to show the use of a wireless xbox 360 controller. Has details on what data is given out from the controller as well as normalized values for the triggers and sticks

Dependencies:   USBHost USBHostXpad mbed

Fork of USBHostXpad_HelloWorld by Suga koubou

Embed: (wiki syntax)

« Back to documentation index

bkStrtLCRC Namespace Reference

bkStrtLCRC Namespace Reference

Integer for storing the hex of the Left analog button,Right analog button,back and start buttons. More...


Detailed Description

Integer for storing the hex of the Left analog button,Right analog button,back and start buttons.

XPad returns a 4 digit hex for all buttons- AXYB buttons are stored in third value

Parameters:
start- given as a 1
back- given as a 2
LC- given as a 4
RC- given as a 8