Removed jpeg dependency in GL plugin, added Rumble to Linux nJoy. and reverted my accidental Dolphin ini file

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@379 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Sonicadvance1
2008-08-29 09:55:17 +00:00
parent c32f116596
commit 3e029639df
8 changed files with 72 additions and 153 deletions

View File

@ -57,6 +57,8 @@
#define SLEEP(x) Sleep(x)
#else
#include <unistd.h>
#include <sys/ioctl.h>
#include <linux/input.h>
#define SLEEP(x) usleep(x*1000)
#endif
@ -117,6 +119,7 @@ struct CONTROLLER_MAPPING{ // GC PAD MAPPING
int halfpress; // Halfpress... you know, like not fully pressed ;)...
int ID; // SDL joystick device ID
int controllertype; // Joystick, Joystick no hat or a keyboard (perhaps a mouse later)
int eventnum; // Linux Event Number, Can't be found dynamically yet
};
struct CONTROLLER_INFO{ // CONNECTED WINDOWS DEVICES INFO