You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I finally could set aside some time to test the demo website using my Wii MotionPlus!
I struggled a bit on Linux using Chromium, so let me explain how I eventually managed to solve it:
Pairing via Bluetooth
For some reason, Bluetooth wasn't shown in my Network Manager applet nor in Mate's Control Center.
Using Bluedevil offered me a GUI to connect (PIN remains empty) while clicking the Sync button on the rear side of the device. Another option might be hitting 1 + 2 on the Wii Motion at the same time?
Once paired, I could pick the device from the Chromium prompt to connect.
However, I noticed a DOMException that the device was not able to open (on your call to .open() - perhaps worth to show an UI error?).
Resolution
After debugging for a few hours, I finally realised that I could sudo chmod 0606 /dev/hidraw0 to grant read AND write access. chrome://device-log/ was helpful in pointing me towards missing write access.
Remaining issues
I could read the Accelerometer values and the button presses. LEDs can blink and vibrate works.
I couldn't figure out, though, what to do with the canvas (shows up black here). From reading the code, it ought to show white dots? How am I suppose to create those?
Do you know, whether Gyroscope data is available, too?
The text was updated successfully, but these errors were encountered:
Massive thanks for sharing your experience using the lib.
I'll try to integrate this in a troubleshoot section.
About the remaining issues, once connected you should be able to go on the extended mode and select Core Buttons + Accelerometer + IR, which should after a few seconds display the IR dots on the canvas.
There is a way to get gyroscope data but I haven't integrated yet in the library. (requires to send some packets data to the Wiimote to enable it more info here)
Today I finally could set aside some time to test the demo website using my Wii MotionPlus!
I struggled a bit on Linux using Chromium, so let me explain how I eventually managed to solve it:
Pairing via Bluetooth
For some reason, Bluetooth wasn't shown in my Network Manager applet nor in Mate's Control Center.
Using Bluedevil offered me a GUI to connect (PIN remains empty) while clicking the Sync button on the rear side of the device. Another option might be hitting 1 + 2 on the Wii Motion at the same time?
Using BlueZ'
sudo bluetoothctl
did not allow me to do so.I had a hard time getting the Nintendo device to show up. (XWiimote lists other alias names for Wii Motion devices).
Connecting via HID
Once paired, I could pick the device from the Chromium prompt to connect.
However, I noticed a DOMException that the device was not able to open (on your call to .open() - perhaps worth to show an UI error?).
Resolution
After debugging for a few hours, I finally realised that I could
sudo chmod 0606 /dev/hidraw0
to grant read AND write access.chrome://device-log/
was helpful in pointing me towards missing write access.Remaining issues
I could read the Accelerometer values and the button presses. LEDs can blink and vibrate works.
I couldn't figure out, though, what to do with the canvas (shows up black here). From reading the code, it ought to show white dots? How am I suppose to create those?
Do you know, whether Gyroscope data is available, too?
The text was updated successfully, but these errors were encountered: