This commit is contained in:
twinaphex 2015-09-05 20:49:57 +02:00
parent 4d8b125c4f
commit 38d099654e
5 changed files with 22 additions and 28 deletions

View File

@ -14,15 +14,15 @@
* If not, see <http://www.gnu.org/licenses/>. * If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <dinput.h>
#include <stdlib.h> #include <stdlib.h>
#include <stddef.h> #include <stddef.h>
#include <string.h> #include <string.h>
#include <windowsx.h> #include <windowsx.h>
#include <retro_log.h> #include <dinput.h>
#include <boolean.h> #include <boolean.h>
#include <retro_log.h>
#include "../../general.h" #include "../../general.h"
#include "../input_autodetect.h" #include "../input_autodetect.h"

View File

@ -17,21 +17,11 @@
#include "../input_autodetect.h" #include "../input_autodetect.h"
#if 0
#ifdef HW_RVL
#include <gccore.h>
#include <ogc/pad.h>
#include <wiiuse/wpad.h>
#else
#include <cafe/pads/wpad/wpad.h>
#endif
#else
#include <gccore.h> #include <gccore.h>
#include <ogc/pad.h> #include <ogc/pad.h>
#ifdef HW_RVL #ifdef HW_RVL
#include <wiiuse/wpad.h> #include <wiiuse/wpad.h>
#endif #endif
#endif
#ifdef GEKKO #ifdef GEKKO
#define WPADInit WPAD_Init #define WPADInit WPAD_Init

View File

@ -13,20 +13,21 @@
* You should have received a copy of the GNU General Public License along with RetroArch. * You should have received a copy of the GNU General Public License along with RetroArch.
* If not, see <http://www.gnu.org/licenses/>. * If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "../input_autodetect.h"
#include "../../general.h"
#include <unistd.h>
#include <stdint.h> #include <stdint.h>
#include <unistd.h>
#include <string.h> #include <string.h>
#include <limits.h> #include <limits.h>
#include <errno.h> #include <errno.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/inotify.h> #include <sys/inotify.h>
#include <sys/epoll.h> #include <sys/epoll.h>
#include <fcntl.h> #include <fcntl.h>
#include <linux/joystick.h> #include <linux/joystick.h>
#include "../input_autodetect.h"
#include "../../general.h"
#define NUM_BUTTONS 32 #define NUM_BUTTONS 32
#define NUM_AXES 32 #define NUM_AXES 32

View File

@ -13,23 +13,25 @@
* If not, see <http://www.gnu.org/licenses/>. * If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "../input_autodetect.h"
#include "../../general.h"
#include <unistd.h>
#include <stdint.h> #include <stdint.h>
#include <unistd.h>
#include <string.h> #include <string.h>
#include <limits.h> #include <limits.h>
#include <fcntl.h>
#include <errno.h> #include <errno.h>
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/poll.h> #include <sys/poll.h>
#include <fcntl.h>
#include <libudev.h> #include <libudev.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/input.h> #include <linux/input.h>
#include <retro_inline.h> #include <retro_inline.h>
#include "../input_autodetect.h"
#include "../../general.h"
/* Udev/evdev Linux joypad driver. /* Udev/evdev Linux joypad driver.
* More complex and extremely low level, * More complex and extremely low level,
* but only Linux driver which can support joypad rumble. * but only Linux driver which can support joypad rumble.

View File

@ -21,18 +21,19 @@
* Some wrappers for other controllers also simulate xinput (as it is easier to implement) * Some wrappers for other controllers also simulate xinput (as it is easier to implement)
* so this may be useful for those also. * so this may be useful for those also.
**/ **/
#include "../input_autodetect.h"
#include "../input_common.h"
#include <dynamic/dylib.h>
#include "../../general.h"
#include <boolean.h>
#include <stdlib.h> #include <stdlib.h>
#include <stddef.h> #include <stddef.h>
#include <string.h> #include <string.h>
#include <retro_inline.h> #include <retro_inline.h>
#include <dynamic/dylib.h>
#include <boolean.h>
#include "../input_autodetect.h"
#include "../input_common.h"
#include "../../general.h"
/* Check if the definitions do not already exist. /* Check if the definitions do not already exist.
* Official and mingw xinput headers have different include guards. * Official and mingw xinput headers have different include guards.