Added mouse support for linux. It is still rather crude, but it works.

Unfortunately the mouse pointer doesn't match up very well with the IR pointer yet.
Also, I had to add the PointerMotionMask to XSelectInput which adds overhead to the already stressed X event loops.  Five event loops by my count, really?


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4961 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-01-26 00:11:45 +00:00
parent dacc0a19a7
commit 727283c4de
5 changed files with 63 additions and 6 deletions

View File

@ -30,6 +30,10 @@
#include "wiimote_hid.h" // Local
#include "Encryption.h"
#if defined(HAVE_X11) && HAVE_X11
#include <X11/X.h>
#endif
extern SWiimoteInitialize g_WiimoteInitialize;
namespace WiiMoteEmu