Hi all, i'm stuck. Send help... What i'm trying to do: Use a wii nunchcuck for eva and ground gameplay Here is my original post: https://robertsspaceindustries.com/spectrum/community/SC/forum/50174/thread/modding-a-wii-nunchuck How am i doing it: https://create.arduino.cc/projecthub/infusion/using-a-wii-nunchuk-with-arduino-597254 This is the code i'm using for the nunchcuck-Arduino comunication that is working ok #include <Wire.h> int info[6]; int n = 0; int tempo=10; void setup() { setupUnoJoy(); Serial.begin (9600); Wire.begin (); Settaggio (); Serial.print ("Acquisizione Dati:\n"); } void Settaggio() { Wire.beginTransmission (0x52); Wire.write (0x40); Wire.write (0x00); Wire.endTransmission (); } void Azzera() { Wire.beginTransmission (0x52); Wire.write (0x00); Wire.endTransmission (); } void loop() { Wire.requestFrom (0x52, 6); while (Wire.available ()) { info[n] = Wire.read (); n++; } n = 0; Azzera(); Scrividati(); delay(tempo); } void Scrividati() { int j_x = info[0]; int j_y = info[1]; int a_x = info[2]; int a_y = info[3]; int a_z = info[4]; int b_z = 1; int b_c = 1; if ( info[5] & 1) b_z = 0; if ((info[5] >> 1) & 1) b_c = 0; if (b_c+b_z == 2) {b_c = 0;} else if (b_z == 1){b_c = 1;} Serial.print ("\t"); Serial.print ("X: "); Serial.print (j_x, DEC); Serial.print ("\t"); Serial.print ("Y: "); Serial.print (j_y, DEC); Serial.print ("\t"); Serial.print ("\t"); Serial.print ("X: "); Serial.print (a_x, DEC); Serial.print ("\t"); Serial.print ("Y: "); Serial.print (a_y, DEC); Serial.print ("\t"); Serial.print ("Z: "); Serial.print (a_z, DEC); Serial.print ("\t"); Serial.print ("\t"); Serial.print (b_z, DEC); Serial.print ("\t"); Serial.print (b_c, DEC); Serial.print ("\n"); } After this i'm trying to use Unojoy to use the arduino as a usb controller: here is the problem. When i open my joystick monitor ( joy.cpl ) the device is recognized but all the buttons and axes act spastic. The Unojoy file says: * To use this library to make a controller, you'll need to do 3 things: * Call setupUnoJoy(); in the setup() block * Create and populate a dataForController_t type variable and fill it with your data * The getBlankDataForController() function is good for that. * Call setControllerData(yourData); where yourData is the variable from above, * somewhere in your loop(), once you're ready to push your controller data to the system. * If you forget to call sendControllerData in your loop, your controller won't ever do anything ok for the "Call setupUnoJoy(); in the setup() block" part void setup() { setupUnoJoy(); Serial.begin (9600); Wire.begin (); Settaggio (); Serial.print ("Acquisizione Dati:\n"); } K.O. for the rest of the procedure. I really don't know what to do . The UnoJoy library i'm using https://github.com/AlanChatham/UnoJoy/blob/master/UnoJoy/UnoJoy.h Maybe you can easily help. i'm giving up... for today. Thank you.