RetroArch
Classes | Typedefs | Functions | Variables
hid_device_driver.h File Reference
#include "../../input_driver.h"
#include "../../connect/joypad_connection.h"
#include "../../include/hid_driver.h"
#include "../../include/gamepad.h"
#include "../../../verbosity.h"
#include "../../../tasks/tasks_internal.h"
Include dependency graph for hid_device_driver.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  hid_device
 

Typedefs

typedef struct hid_device hid_device_t
 

Functions

hid_device_thid_device_driver_lookup (uint16_t vendor_id, uint16_t product_id)
 
joypad_connection_thid_pad_register (void *pad_handle, pad_connection_interface_t *iface)
 
void hid_pad_deregister (joypad_connection_t *pad)
 
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_device_t wiiu_gca_hid_device
 
hid_device_t ds3_hid_device
 
hid_device_t ds4_hid_device
 
hid_driver_instance_t hid_instance
 

Typedef Documentation

◆ hid_device_t

typedef struct hid_device hid_device_t

Function Documentation

◆ hid_deinit()

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.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hid_device_driver_lookup()

hid_device_t* hid_device_driver_lookup ( uint16_t  vendor_id,
uint16_t  product_id 
)
Here is the caller graph for this function:

◆ hid_init()

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.

Returns
true if init is successful, false otherwise.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ hid_pad_deregister()

void hid_pad_deregister ( joypad_connection_t pad)
Here is the caller graph for this function:

◆ hid_pad_register()

joypad_connection_t* hid_pad_register ( void pad_handle,
pad_connection_interface_t iface 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ ds3_hid_device

hid_device_t ds3_hid_device

◆ ds4_hid_device

hid_device_t ds4_hid_device

◆ hid_instance

hid_driver_instance_t hid_instance

◆ wiiu_gca_hid_device

hid_device_t wiiu_gca_hid_device