Unity-Wiimote icon indicating copy to clipboard operation
Unity-Wiimote copied to clipboard

wii remote plus

Open everyone-else-stole-the-good-usernames opened this issue 5 years ago • 2 comments

All buttons are recognised but this does not recognise the wii remote plus's built in wii motion plus

Same issue here

JulesDeslandes avatar Jul 20 '20 19:07 JulesDeslandes

Thanks for all the hard work on this! Although I've gotten almost every other feature to work, the API will not detect a known-good Wiimotion Plus plugged into the Wiimote. I've tested it with other libraries to make sure it's working, and it is, but all my attempts to identify or activate it have failed. For instance:

` bool activated = false; remote.RequestIdentifyWiiMotionPlus(); //remote.SendStatusInfoRequest(); // Requests Status Report

Console.WriteLine("remote.current_ext " + remote.current_ext); Console.WriteLine("remote.ext_connected " + remote.Status.ext_connected); Console.WriteLine("remote.wmp_attached " + remote.wmp_attached); if (!activated && remote.wmp_attached) { remote.ActivateWiiMotionPlus(); activated = true; Console.WriteLine("Activated WiiMotionPlus!"); Console.WriteLine("WiiMote Type :" + remote.MotionPlus.ExtensionConnected);

} else Console.WriteLine("No WiiMotion Plus Detected!"); if (activated && remote.current_ext == ExtensionController.MOTIONPLUS) { MotionPlusData data = remote.MotionPlus; // data! float dPitch = data.PitchSpeed; Console.WriteLine("PitchSpeed is " + dPitch); // Use the data... } Yields:remote.current_ext NONE remote.ext_connected False remote.wmp_attached False No WiiMotion Plus Detected! NONE Is Wii Motion Plus Attached? False`

thebitmaster avatar Mar 28 '24 03:03 thebitmaster