Thread created automatically to discuss a document in CD-Media.
Xbox map file
by: Spencer E.
A header file I’ve written that maps all the buttons of the Xbox 360 controller to the OI using simple definitions so it’s easier to identify while coding.
This header file maps all of the buttons of the Xbox 360 controller to the OI according to the user manual provided by IFI Robotics. You can easily change the mapping for which port the chicklet is in and supports all 4 modes the chicklet has built-in. I mostly made this so I didn’t have to refer to the chart on the IFI website while programming. Hopefully some teams find a use for this! If you find any errors or have any suggestions, feel free to give your input.
I’ve added instructions as to how to configure your chicklet to work with this header file
Sorry guys, I realized there was a huge mistake here. Whenever you had called the digital inputs (A, B, X, Y, LB, RB, ect.) that used either Aux or Wheel it would return 128, 64, 32 or 16 respectively. I’ve fixed that so now it will either return 1 or 0 when called.