mirror of
https://github.com/libretro/RetroArch
synced 2025-02-09 09:39:56 +00:00
Header cleanups
This commit is contained in:
parent
38d099654e
commit
e654c5cb65
@ -14,10 +14,9 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "../input_hid_driver.h"
|
||||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/sysctl.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#ifdef __APPLE__
|
||||
#include <CoreFoundation/CFRunLoop.h>
|
||||
@ -25,11 +24,13 @@
|
||||
#ifdef HAVE_MFI
|
||||
#include "mfi_hid.h"
|
||||
#endif
|
||||
#include <rthreads/rthreads.h>
|
||||
|
||||
#include <rthreads/rthreads.h>
|
||||
#include <dynamic/dylib.h>
|
||||
|
||||
#include "../input_hid_driver.h"
|
||||
#define BUILDING_BTDYNAMIC
|
||||
#include "btstack_hid.h"
|
||||
#include <dynamic/dylib.h>
|
||||
#include "../connect/joypad_connection.h"
|
||||
|
||||
typedef struct btstack_hid
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
#include <IOKit/hid/IOHIDManager.h>
|
||||
#include <IOKit/hid/IOHIDKeys.h>
|
||||
|
||||
#include "../connect/joypad_connection.h"
|
||||
#include "../drivers/cocoa_input.h"
|
||||
#include "../input_autodetect.h"
|
||||
|
@ -14,10 +14,12 @@
|
||||
*/
|
||||
|
||||
#include <libusb-1.0/libusb.h>
|
||||
|
||||
#include <rthreads/rthreads.h>
|
||||
#include <compat/strl.h>
|
||||
#include <queues/fifo_buffer.h>
|
||||
#include <retro_log.h>
|
||||
|
||||
#include "../connect/joypad_connection.h"
|
||||
#include "../input_autodetect.h"
|
||||
#include "../input_hid_driver.h"
|
||||
|
@ -13,9 +13,11 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <boolean.h>
|
||||
|
||||
#include <AvailabilityMacros.h>
|
||||
#import <GameController/GameController.h>
|
||||
#include <boolean.h>
|
||||
|
||||
#include "mfi_hid.h"
|
||||
#include "../../input/drivers/cocoa_input.h"
|
||||
|
||||
|
@ -14,10 +14,12 @@
|
||||
*/
|
||||
|
||||
#include <gccore.h>
|
||||
|
||||
#include <rthreads/rthreads.h>
|
||||
#include <compat/strl.h>
|
||||
#include <queues/fifo_buffer.h>
|
||||
#include <retro_log.h>
|
||||
|
||||
#include "../connect/joypad_connection.h"
|
||||
#include "../input_autodetect.h"
|
||||
#include "../input_hid_driver.h"
|
||||
|
@ -12,19 +12,20 @@
|
||||
* 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 <string.h>
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <linux/parport.h>
|
||||
#include <linux/ppdev.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#include "../input_autodetect.h"
|
||||
#include "../../general.h"
|
||||
|
||||
/* Linux parport driver does not support reading the control register
|
||||
Other platforms may support up to 17 buttons */
|
||||
#define PARPORT_NUM_BUTTONS 13
|
||||
|
@ -14,6 +14,9 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <boolean.h>
|
||||
#include <retro_inline.h>
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/extensions/xf86vmode.h>
|
||||
@ -22,10 +25,6 @@
|
||||
#include <X11/extensions/Xinerama.h>
|
||||
#endif
|
||||
|
||||
#include <boolean.h>
|
||||
#include <retro_inline.h>
|
||||
#include "../../driver.h"
|
||||
#include "../keyboard_line.h"
|
||||
#include "../input_keymaps.h"
|
||||
|
||||
static INLINE unsigned leading_ones(uint8_t c)
|
||||
|
@ -15,6 +15,7 @@
|
||||
*/
|
||||
|
||||
#include <xkbcommon/xkbcommon.h>
|
||||
|
||||
#include "../input_joypad_driver.h"
|
||||
#include "../input_keymaps.h"
|
||||
#include "../keyboard_line.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user