Emulator Issues #2285
closedReal Wiimote Doesn't work in OSX
0%
Description
The Wiimote plugin fails to work in OSX due to us initializing and
connecting to the Wiimote on one thread, and then sending/receiving data
for it on another.
I made a test program a while back that only uses the main thread, and our
WiiUse implementation on OSX works fine.
Updated by BhaaL about 14 years ago
My temporary fix for this is scons switch that excludes WiiUseSrc from being
built/linked, which only lets me use the emulated wiimote tho.
Any interrest in it, or do you want to fix the real cause for once and for all?
Updated by Sonicadvance1 about 14 years ago
Seems something I haven't noticed is that WiiUse hangs forever if the Bluetooth
device is disabled, waiting for a connection, but enabled, it waits the required time
and continues on it's way when it doesn't find any Wiimotes. But even if it does find
Wiimotes, games can't write/read to/from it due to the threading issue.
Updated by BhaaL about 14 years ago
Surprisingly, this doesnt seem to happen on Windows (or Linux).
I got an USB Bluetooth dongle, which is rarely ever plugged. But I did notice that
the OSX WiiUse code does not make any use of the timeout parameter.