Extracting the joystick library

Status
Not open for further replies.

Tady

Well-known member
Hello!

I have a question on how to extract the Joystick library.
I'm working on a code that has multiple combinations and I would like to display different names based on different #defines in my main code.
I found the usb_desc.h that contains the defines that show up in windows game controllers but as far as I know #define in the main code is not seen in libraries :/
So I was thinking of extracting the Joystick library and edit things for this project. It woul be better since I won't break things in the original library.
Its burried so deep that I'm out of ideas on how to do that.

Thank you!
 
The old Arduino-problem...
Easiest is to backup your Arduino-installation to a new directory, and edit there.
 
Thank you for your reply:)
I managed to go around this problem by entering new entries to boards.txt and usb_dev.h
 
Status
Not open for further replies.
Back
Top