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
482 stars 130 forks source link

Missing ) line 216 Megajoy.h #44

Closed pkaser closed 8 months ago

pkaser commented 2 years ago

Missing ) line 216 Megajoy.h

mitko-kamburow commented 2 years ago

Hello, I looked up the line and there is no missing symbol, have you tried editing that? The for loop should look like this: for (int i = 0; i < ANALOG_AXIS_ARRAY_SIZE; i++){ controllerData.analogAxisArray[i] = 512; }

AlanChatham commented 8 months ago

Just digging back into this project, and wow, embarrassing! Looks like the version of MegaJoy.h in the example code didn't have this, probably hence the confusion. Super appreciate you bringing this up!