Project

General

Profile

Actions

Emulator Issues #2285

closed

Real Wiimote Doesn't work in OSX

Added by Sonicadvance1 about 14 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
OS X
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
Yes
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

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.

Actions #1

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?

Actions #2

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.

Actions #3

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.

Actions #4

Updated by Sonicadvance1 about 14 years ago

  • Status changed from New to Fixed
Actions

Also available in: Atom PDF