FRC2706 / 2019-2706-Robot-Code

The main robot code for the FIRST 2019 challenge: Deep Space
MIT License
2 stars 0 forks source link

Figure out differences between XBox 360 versus XBox One controller #14

Closed kevlam2706 closed 5 years ago

kevlam2706 commented 5 years ago

We are getting pretty good at using XBox 360 controllers and mappings for all of our robot code.

However, the XBox 360 controller is discontinued, and XBox One controllers are plentiful.

It would be useful to know how exactly these two map in the robot code. Do they behave identically? (I think the answer is no.) If not, can we create a mapping and/or subclass so we know how to work with them?

I think this is a good little project for a rookie student.

KyleRAnderson commented 5 years ago

I've actually experimented a little with this before, I have a couple of notes from when I did it.

The Xbox 360 and Xbox One controllers both seem to work pretty much identically, except I've noticed issues with the Select/Back/View (not sure what to call it) button (see diagram) on both types of controllers, but I'm not sure if this has always been the case.

Good idea to have another student take a look at it.

ryanlarkin commented 5 years ago

@Dimatsa's findings:

From what I can tell, there is no difference between an Xbox 360 controller and a Xbox One controller [because they use the same input drivers, and all button mappings are the same on the Driver Station software]