Project

General

Profile

Actions

Emulator Issues #8476

closed

Real wiimote doesn't work with dolphin nogui

Added by mac1202 over 9 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

What's the problem? Describe what went wrong in few words.
When using the nogui version of dolphin I can connect my wiimote but dolphin doesnt respond to any input from the wiimote.

What did you expect to happen instead?
wiimote working properly.

Which versions of Dolphin did you test on?
latest git revision.

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
no it never worked.

Actions #1

Updated by rancourttommylee over 9 years ago

you have toshiba Bluetooth stack and a usb Bluetooth?

Actions #2

Updated by mac1202 over 9 years ago

I am under linux. Sure I got a working bluetooth and everything work perfectly with standard dolphin. This problem only occurs with dolphin-nogui.

Actions #3

Updated by rancourttommylee over 9 years ago

install Windows on your linux ok?

Actions #4

Updated by mac1202 over 9 years ago

No I would not do that.

Actions #5

Updated by rancourttommylee over 9 years ago

sorry its not my problem

Actions #6

Updated by mac1202 over 9 years ago

Seems to be the same problem as this issue https://code.google.com/p/dolphin-emu/issues/detail?id=8062

Actions #7

Updated by aerisarn over 9 years ago

Confirmed, the problem is that void Host_ConnectWiimote(int wm_idx, bool connect) is unimplemented in MainNoGUI.cpp.

A simple implementation like this works as expected; missing some inclusions though, need a proper patch and maybe Frame independent tools

void Host_ConnectWiimote(int wm_idx, bool connect)
{
if (Core::IsRunning() && SConfig::GetInstance().m_LocalCoreStartupParameter.bWii)
{
bool was_unpaused = Core::PauseAndLock(true);
GetUsbPointer()->AccessWiiMote(wm_idx | 0x100)->Activate(connect);
Host_UpdateMainFrame();
Core::PauseAndLock(false, was_unpaused);
}

}

Actions #8

Updated by skidau over 9 years ago

Nice. Would you please submit a pull request via github for this patch?

https://github.com/dolphin-emu/dolphin/pulls

Actions #9

Updated by JMC4789 over 9 years ago

  • Status changed from New to Accepted

I'll ping some people who may have time to do an easy issue.

Actions #10

Updated by JosJuice over 9 years ago

  • Status changed from Accepted to Fix pending
Actions #12

Updated by vladimir.kharlashkin over 9 years ago

Thanks!

Actions

Also available in: Atom PDF