AndersMalmgren / FreePIE

Programmable Input Emulator
650 stars 144 forks source link

Problem with Wiimote's Gyro Detection #103

Open meduzo opened 7 years ago

meduzo commented 7 years ago

Button data is received, but all the motion data is not. I cannot receive any of the Wiimote's information to translate it to any other movement.

I've tried to read the data with glovePIE and it works, it's FreePIE that is not detecting it.

OS: Win 8.1 Wiimote without Motion Plus

ajayyy commented 7 years ago

Same issue on Windows 10

Iruberiam commented 7 years ago

Same issue with Motion Plus

rjbergTU commented 5 years ago

Same issue with Motion Plus

I have the same issue, sporadically. I have to restart a script like 8 times before succeeding. This is with an original controller with motion plus acessory.

Edit: I also tried glovepie, which works properly. Seems to be a FreePIE problem, not of the script.

Maybe its incompatible with certain wiimote/acessory combinations.

hradec commented 5 years ago

I just started using Freepie, and it seems I'm having this issue. wiimote returns acceleration (and all buttons work just fine), but yaw/roll/pitch are all 0.

I've tried calling wiimote[0].enable(WiimoteCapabilities.MotionPlus), but no luck!

I've enabled debug log, and this is what comes up:

Info    2019-05-07 18:10:43  WiimoteReal::Initialize
Info    2019-05-07 18:10:46  IOWrite[MSBT_STACK_MS]: ERROR: 00000001
Info    2019-05-07 18:10:46  IOWrite[MSBT_STACK_MS]: ERROR: 00000057
Info    2019-05-07 18:10:46  IOWrite[MSBT_STACK_MS]: ERROR: 00000001
Info    2019-05-07 18:10:46  Connected to wiimote 1.
Info    2019-05-07 18:10:47  Wiimote scanning has stopped
Info    2019-05-07 18:10:50  IOWrite[MSBT_STACK_MS]: ERROR: 00000001
Info    2019-05-07 18:10:50  IOWrite[MSBT_STACK_MS]: ERROR: 00000057
Info    2019-05-07 18:10:50  IOWrite[MSBT_STACK_MS]: ERROR: 00000001
Info    2019-05-07 18:10:50  Wiimote scanning has started
Info    2019-05-07 18:10:51  Wiimote #0: Extension not available - could not read id
Info    2019-05-07 18:10:53  IOWrite[MSBT_STACK_MS]: ERROR: 00000001
Info    2019-05-07 18:10:53  IOWrite[MSBT_STACK_MS]: ERROR: 00000057
Info    2019-05-07 18:10:53  IOWrite[MSBT_STACK_MS]: ERROR: 00000001
Info    2019-05-07 18:10:53  Wiimote #0: Enabling motionplus without passthrough
Info    2019-05-07 18:10:53  IOWrite[MSBT_STACK_MS]: ERROR: 00000015
Info    2019-05-07 18:10:54  Wiimote #0: Extension not available - could not read id
Info    2019-05-07 18:10:56  IOWrite[MSBT_STACK_MS]: ERROR: 00000001
Info    2019-05-07 18:10:56  IOWrite[MSBT_STACK_MS]: ERROR: 00000057
Info    2019-05-07 18:10:56  IOWrite[MSBT_STACK_MS]: ERROR: 00000001
Info    2019-05-07 18:11:01  IOWrite[MSBT_STACK_MS]: ERROR: 00000001
Info    2019-05-07 18:11:01  IOWrite[MSBT_STACK_MS]: ERROR: 00000057
Info    2019-05-07 18:11:01  IOWrite[MSBT_STACK_MS]: ERROR: 00000001
and so on with the 57 and 01 errors popping up constantly! 

it's funny because there's a message Wiimote #0: Enabling motionplus without passthrough showing in the logs, but wiimote[0].capabilities.has_available_capability(WiimoteCapabilities.MotionPlus) always returns False.

I've tried running GlovePie and it finds my motion plus sensor correctly and just works! So I known it's not a issue with my controller or motion plus addon device. (But I need Freepie to work, since ALVR talks to Freepie only... not GlovePie as far as I known! :( )

My wiimote is one from the original wii console, one of the first ones... and the motionplus addon is also one of the first ones to come out... the one that came with "Wii Sports Resort" game!

any ideas?

-H

AndersMalmgren commented 5 years ago

@zelmon64 or @sanjay900 You guys have any input in this matter?

sanjay900 commented 5 years ago

I'm not really sure, its been a good while since I've looked into FreePIE, since I moved to linux a while ago.