mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-16 08:02:39 +00:00
GCPadNew: Added option to disable input when Dolphin window isn't active. Some other minor fixes/cleanups.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5290 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
eada74b74e
commit
b0e8a67cf2
8 changed files with 130 additions and 56 deletions
|
@ -189,8 +189,11 @@ bool KeyboardMouse::UpdateOutput()
|
|||
m_current_state_out[i] ^= 1;
|
||||
}
|
||||
}
|
||||
|
||||
return ( kbinputs.size() == SendInput( (UINT)kbinputs.size(), &kbinputs[0], sizeof( kbinputs[0] ) ) );
|
||||
|
||||
if ( kbinputs.size() )
|
||||
return ( kbinputs.size() == SendInput( (UINT)kbinputs.size(), &kbinputs[0], sizeof( kbinputs[0] ) ) );
|
||||
else
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string KeyboardMouse::GetName() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue