RetroArch
|
#include "hid_device_driver.h"
Functions | |
hid_device_t * | hid_device_driver_lookup (uint16_t vendor_id, uint16_t product_id) |
joypad_connection_t * | hid_pad_register (void *pad_handle, pad_connection_interface_t *iface) |
void | hid_pad_deregister (joypad_connection_t *pad) |
static bool | init_pad_list (hid_driver_instance_t *instance, unsigned slots) |
bool | hid_init (hid_driver_instance_t *instance, hid_driver_t *hid_driver, input_device_driver_t *pad_driver, unsigned slots) |
void | hid_deinit (hid_driver_instance_t *instance) |
Variables | |
hid_driver_instance_t | hid_instance = {0} |
hid_device_t * | hid_device_list [] |
void hid_deinit | ( | hid_driver_instance_t * | instance | ) |
Tear down the HID system set up by hid_init()
instance the hid_driver_instance_t to tear down.
hid_device_t* hid_device_driver_lookup | ( | uint16_t | vendor_id, |
uint16_t | product_id | ||
) |
bool hid_init | ( | hid_driver_instance_t * | instance, |
hid_driver_t * | hid_driver, | ||
input_device_driver_t * | pad_driver, | ||
unsigned | slots | ||
) |
Fill in instance with data from initialized hid subsystem.
instance the hid_driver_instance_t struct to fill in hid_driver the HID driver to initialize pad_driver the gamepad driver to handle HID pads detected by the HID driver.
void hid_pad_deregister | ( | joypad_connection_t * | pad | ) |
joypad_connection_t* hid_pad_register | ( | void * | pad_handle, |
pad_connection_interface_t * | iface | ||
) |
|
static |
hid_device_t* hid_device_list[] |
hid_driver_instance_t hid_instance = {0} |