View Single Post
  #1   Spotlight this post!  
Unread 14-01-2017, 16:28
Ranai's Avatar
Ranai Ranai is offline
Registered User
AKA: Matthew
FRC #2081 (Icarus)
Team Role: Programmer
 
Join Date: Mar 2016
Rookie Year: 2014
Location: Illinois
Posts: 1
Ranai is an unknown quantity at this point
Simple library for XBox controllers

Hello!
I am a member of Team 2081. At the end of last year's build season, our software mentor had an idea: "Why not make an open source library to handle all of the controller code?" I really liked the idea of writing something that could be used not only by my team, but by other teams who might have use for it.

Over the summer, I did a lot of work with programming in C#, which helped me learn a lot about object-oriented programming. I didn't think much of it at the time but without that extra learning, I probably wouldn't have been able to write this.

So, as this build season was getting started, I decided to take a shot at making a controller library. I had started some of the basic stuff in the off season for a competition, but it wasn't very good so I scraped it. The code itself can be found here.

It's worth noting that this library was made with using a standard XBox 360 controller in mind, so not all controllers will be compatible. I'm planning on adding something for compatibility in the near future, so watch for that if you're interested.

Feel free to use this code if you want, after all I made it not just for my team, but for everyone
Reply With Quote