(WiiU/hid) hid.h only used in drivers_hid/wiiu, don't include everywhere

This commit is contained in:
Ash Logan 2020-05-17 16:39:41 +10:00
parent f22af81e7d
commit cdaf907467
2 changed files with 7 additions and 8 deletions

View File

@ -94,13 +94,6 @@ struct _wiiu_adapter_list {
wiiu_adapter_t *list;
};
extern wiiu_pad_functions_t pad_functions;
extern input_device_driver_t wiiu_joypad;
extern input_device_driver_t wpad_driver;
extern input_device_driver_t kpad_driver;
extern input_device_driver_t hidpad_driver;
extern hid_driver_t wiiu_hid;
static void *alloc_zeroed(size_t alignment, size_t size);
static OSThread *new_thread(void);
static wiiu_hid_t *new_hid(void);

View File

@ -29,7 +29,6 @@
#include <wiiu/vpad.h>
#include <wiiu/kpad.h>
#include <wiiu/pad_strings.h>
#include "hid.h"
#include "../../common/hid/hid_device_driver.h"
#include "../../connect/joypad_connection.h"
@ -65,4 +64,11 @@ struct _wiiu_pad_functions {
void (*connect)(unsigned pad, input_device_driver_t *driver);
};
extern wiiu_pad_functions_t pad_functions;
extern input_device_driver_t wiiu_joypad;
extern input_device_driver_t wpad_driver;
extern input_device_driver_t kpad_driver;
extern input_device_driver_t hidpad_driver;
extern hid_driver_t wiiu_hid;
#endif /* __WIIU_INPUT__H */