mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-12 12:39:56 +00:00
Cleanups
This commit is contained in:
parent
4d8b125c4f
commit
38d099654e
@ -14,15 +14,15 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <dinput.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
#include <windowsx.h>
|
||||
|
||||
#include <retro_log.h>
|
||||
#include <dinput.h>
|
||||
|
||||
#include <boolean.h>
|
||||
#include <retro_log.h>
|
||||
|
||||
#include "../../general.h"
|
||||
#include "../input_autodetect.h"
|
||||
|
@ -17,21 +17,11 @@
|
||||
|
||||
#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 <ogc/pad.h>
|
||||
#ifdef HW_RVL
|
||||
#include <wiiuse/wpad.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef GEKKO
|
||||
#define WPADInit WPAD_Init
|
||||
|
@ -13,20 +13,21 @@
|
||||
* You should have received a copy of the GNU General Public License along with RetroArch.
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../input_autodetect.h"
|
||||
#include "../../general.h"
|
||||
#include <unistd.h>
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/inotify.h>
|
||||
#include <sys/epoll.h>
|
||||
#include <fcntl.h>
|
||||
#include <linux/joystick.h>
|
||||
|
||||
#include "../input_autodetect.h"
|
||||
#include "../../general.h"
|
||||
|
||||
#define NUM_BUTTONS 32
|
||||
#define NUM_AXES 32
|
||||
|
||||
|
@ -13,23 +13,25 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../input_autodetect.h"
|
||||
#include "../../general.h"
|
||||
#include <unistd.h>
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <fcntl.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/poll.h>
|
||||
#include <fcntl.h>
|
||||
#include <libudev.h>
|
||||
#include <linux/types.h>
|
||||
#include <linux/input.h>
|
||||
|
||||
#include <retro_inline.h>
|
||||
|
||||
#include "../input_autodetect.h"
|
||||
#include "../../general.h"
|
||||
|
||||
/* Udev/evdev Linux joypad driver.
|
||||
* More complex and extremely low level,
|
||||
* but only Linux driver which can support joypad rumble.
|
||||
|
@ -21,18 +21,19 @@
|
||||
* Some wrappers for other controllers also simulate xinput (as it is easier to implement)
|
||||
* 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 <stddef.h>
|
||||
#include <string.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.
|
||||
* Official and mingw xinput headers have different include guards.
|
||||
|
Loading…
x
Reference in New Issue
Block a user