nJoy: Don't allow input when Dolphin is not in focus (supports both the

rendering to main window and render to separate window options)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2062 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
John Peterson
2009-02-01 16:29:35 +00:00
parent ad995a68ea
commit 8c9d07b26b
3 changed files with 35 additions and 4 deletions

View File

@ -243,6 +243,7 @@ void GetJoyState(int controller);
int Search_Devices();
void DEBUG_INIT();
void DEBUG_QUIT();
bool IsFocus();
void Pad_Use_Rumble(u8 _numPAD, SPADStatus* _pPADStatus); // Rumble
int Pad_Convert(int _val); // Value conversion