Project

General

Profile

Actions

Emulator Issues #1951

closed

Added Feature: Wiimote Pairup @wiimoteplugin

Added by styleryo almost 15 years ago.

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

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

not perfect yet, should be modified to work in nonblocking mode (Threaded)
.diff by sanchez

Actions #1

Updated by styleryo almost 15 years ago

r4783_x64 inclusive .diff:
http://archiv.to/GET/FILE4B42AF9DF3320

Actions #2

Updated by coisbot almost 15 years ago

Works great, now I can connect my wiimote without having to install m$ bluetooth
stack every time I power the controller on.

Actions #3

Updated by ggohdin almost 15 years ago

Thats really cool, but once I try to connect, if I dont refresh the wiimotes in the
wiimote plugin it seems to fail, ill double check that later.

Would be cool if there was a shortcut to the main menu of dolphin called "sync" or
something, just for ease of access.

Actions #4

Updated by BhaaL almost 15 years ago

I cleaned things up a bit, re/moved includes and got rid of that ShowErrorCode
function. If we really needed it some day, we could re-do it, but as far as I could
see, the BT API only returns (useful) error codes for BluetoothSetServiceState which
we might be interrested in:

http://pastie.org/767359

Actions #5

Updated by fgfemperor almost 15 years ago

Gonna take a look at that, cuz it really looks interesting!

Actions #6

Updated by fgfemperor almost 15 years ago

  • Status changed from New to Work started
Actions #7

Updated by fgfemperor almost 15 years ago

Ahn... Got 25 errors when compiling... All on BluetoothAPIs.h lines 1203 to 1224...
1203 : error C2146: syntax error : missing ';' before identifier 'type'
1203 : error C4430: missing type specifier - int assumed. Note: C++ does not support
default-int
[...]
What's wrong?

Actions #8

Updated by BhaaL almost 15 years ago

Did you install a recent Windows SDK?
MSDN states that at least WinXP SP2 or Vista is required. Compiles fine here on Win7
(and I'd like some real-world confirmations that it also works on XP and Vista, if
someone happened to try it)

You might want to join us on IRC, we're currently discussing this and trying to
improve it.

Actions #9

Updated by kenzozusuki almost 15 years ago

No error with j4ck.fr0st source.
win32 & 64 bit

Actions #10

Updated by fgfemperor almost 15 years ago

  • Status changed from Work started to Fixed

Closed on r4786

Actions #11

Updated by styleryo almost 15 years ago

Just to clear some things up: You WONT be able at any point yet (at the moment at
least, I'm still working on it) to (re)pair up a wiimote to the system, which was
previously still connected WHILE dolphin was running.
In other words, when your battery dies while your gaming you won't be able to pair it
up again as long you dont restart dolphin, its cuz theres a hook left to the wiimote
which is not dropped, im still working on it.

If you try to add the same wiimote up by using windows bt manager, you will fail as
well when dolphin is still open, like i said there must be still some kind of hook
running, which doesnt get dropped.
But what will work:
You can always (re)pair up a wiimote, which wasn't previously active as long
"dolphin" was running, so that includes actually 97% of the cases.
I'm using that feature all the time, it was really pissing me off to use windows to
pair the wiimotes up all the time.

BTW pls give feedback on multiple real wiimotes!

Actions #12

Updated by antoniodelacueva almost 15 years ago

Hi Styleryo, I'm an ignorant in all of this,but do you tested the Bluetooth Auto-
Connection function in GlovePie? Are possible an adaptation for Dolphin? In GlovePie
pairs 100%. Sorry if this is very crazy!!!!

Thanks for the Wiimote feature in all of case.

Actions

Also available in: Atom PDF