mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -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:
@ -42,9 +42,12 @@ void InterruptChannel(int _number, u16 _channelID, const void* _pData, u32 _Size
|
||||
void ControlChannel(int _number, u16 _channelID, const void* _pData, u32 _Size) ;
|
||||
void Update(int _number);
|
||||
void DoState(PointerWrap &p);
|
||||
//void ReadLinuxKeyboard();
|
||||
bool IsKey(int Key);
|
||||
|
||||
#if defined(HAVE_X11) && HAVE_X11
|
||||
bool HaveFocus (void);
|
||||
#endif
|
||||
|
||||
// Recordings
|
||||
void LoadRecordedMovements();
|
||||
void GetMousePos(float& x, float& y);
|
||||
|
Reference in New Issue
Block a user