mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
In linux only read keyboard and mouse input when the emulator window has focus.
Also other code clean up. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5053 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -34,6 +34,9 @@ typedef void (*TLog)(const char* _pMessage);
|
||||
typedef struct
|
||||
{
|
||||
HWND hWnd;
|
||||
#if defined HAVE_X11 && HAVE_X11
|
||||
void *pXWindow;
|
||||
#endif
|
||||
TLog pLog;
|
||||
} SPADInitialize;
|
||||
|
||||
|
@ -19,7 +19,7 @@ typedef void (*TWiimoteInput)(int _number, u16 _channelID, const void* _pData, u
|
||||
typedef struct
|
||||
{
|
||||
HWND hWnd;
|
||||
#ifdef __linux__
|
||||
#if defined HAVE_X11 && HAVE_X11
|
||||
void *pXWindow;
|
||||
#endif
|
||||
u32 ISOId;
|
||||
|
Reference in New Issue
Block a user