Go to Post The robot uprising has begun. - SpoonMechanic [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:31.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi