mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Wiimote: More work, don't ask, no answer
nJoy: Maybe this could reactivate multi-pad? git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4729 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
06218e9ebb
commit
4240cf9053
26 changed files with 336 additions and 331 deletions
|
@ -259,6 +259,9 @@ void PAD_Input(u16 _Key, u8 _UpDown)
|
|||
// Check if the keys are interesting, and then update it
|
||||
for(int i = 0; i < 4; i++)
|
||||
{
|
||||
if (!PadMapping[i].enable)
|
||||
continue;
|
||||
|
||||
for(int j = InputCommon::CTL_L_SHOULDER; j <= InputCommon::CTL_START; j++)
|
||||
{
|
||||
if (PadMapping[i].buttons[j] == _Key)
|
||||
|
@ -292,7 +295,7 @@ void PAD_GetStatus(u8 _numPAD, SPADStatus* _pPADStatus)
|
|||
{
|
||||
// Check if the pad is avaliable, currently we don't disable pads just because they are
|
||||
// disconnected
|
||||
if (!PadState[_numPAD].joy || !PadMapping[_numPAD].enable)
|
||||
if (!PadState[_numPAD].joy)
|
||||
return;
|
||||
|
||||
// Clear pad status
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue