mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Preliminary emulated Wiimote Extension support. It works in some games. The nunchuck controls are numpad 4, 5, 6, 8 for up down left right and C and Z for the c and z buttons. You have to select Extension connected from the settings to enable it.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1212 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -20,7 +20,6 @@
|
||||
#include "Config.h"
|
||||
#include "EmuSubroutines.h" // for WmRequestStatus_
|
||||
|
||||
//extern u16 WiiMoteEmu::g_channelID; // global id
|
||||
|
||||
BEGIN_EVENT_TABLE(ConfigDialog,wxDialog)
|
||||
EVT_CLOSE(ConfigDialog::OnClose)
|
||||
@ -132,8 +131,9 @@ void ConfigDialog::GeneralSettingsChanged(wxCommandEvent& event)
|
||||
g_Config.bExtensionConnected = m_ExtensionConnected->IsChecked();
|
||||
|
||||
// generate connect/disconnect status event
|
||||
if(WiiMoteEmu::g_channelID > 0)
|
||||
WiiMoteEmu::WmRequestStatus_(WiiMoteEmu::g_channelID);
|
||||
if(WiiMoteEmu::g_ReportingChannel > 0)
|
||||
WiiMoteEmu::WmRequestStatus_(WiiMoteEmu::g_ReportingChannel,
|
||||
g_Config.bExtensionConnected ? 1 : 0);
|
||||
break;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user