AlanChatham / UnoJoy

UnoJoy! allows you to easily turn an Arduino Uno (or Mega or Leonardo) into a PS3-compatible USB game controller
GNU General Public License v3.0
483 stars 131 forks source link

extra axis #8

Open specters opened 8 years ago

specters commented 8 years ago

thanks for this beautiful code how can add extra axis to megajoy ? 12 axis

AlanChatham commented 7 years ago

Sorry for the massively delayed response... You'd need to get into the HID report descriptor and change around a bunch of the code, like dataForController_t.h. One issue you may run into would be support for more than 6 axes in Windows, which is probably the reason I only did 6 to begin with? It's been a long time since I wrote it, but that sounds plausible, or at least I didn't have a way to test more than 6 axes when I was developing it. Hope that helps! -Chatham