RetroArch
Classes | Functions | Variables
connect_snesusb.c File Reference
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <boolean.h>
#include "joypad_connection.h"
#include "../input_defines.h"
Include dependency graph for connect_snesusb.c:

Classes

struct  hidpad_snesusb_data
 

Functions

static voidhidpad_snesusb_init (void *data, uint32_t slot, hid_driver_t *driver)
 
static void hidpad_snesusb_deinit (void *data)
 
static void hidpad_snesusb_get_buttons (void *data, input_bits_t *state)
 
static int16_t hidpad_snesusb_get_axis (void *data, unsigned axis)
 
static void hidpad_snesusb_packet_handler (void *data, uint8_t *packet, uint16_t size)
 
static void hidpad_snesusb_set_rumble (void *data, enum retro_rumble_effect effect, uint16_t strength)
 
const char * hidpad_snesusb_get_name (void *data)
 

Variables

pad_connection_interface_t pad_connection_snesusb
 

Function Documentation

◆ hidpad_snesusb_deinit()

static void hidpad_snesusb_deinit ( void data)
static
Here is the call graph for this function:

◆ hidpad_snesusb_get_axis()

static int16_t hidpad_snesusb_get_axis ( void data,
unsigned  axis 
)
static

◆ hidpad_snesusb_get_buttons()

static void hidpad_snesusb_get_buttons ( void data,
input_bits_t state 
)
static

◆ hidpad_snesusb_get_name()

const char* hidpad_snesusb_get_name ( void data)
Here is the call graph for this function:

◆ hidpad_snesusb_init()

static void* hidpad_snesusb_init ( void data,
uint32_t  slot,
hid_driver_t driver 
)
static
Here is the call graph for this function:

◆ hidpad_snesusb_packet_handler()

static void hidpad_snesusb_packet_handler ( void data,
uint8_t packet,
uint16_t  size 
)
static
Here is the call graph for this function:

◆ hidpad_snesusb_set_rumble()

static void hidpad_snesusb_set_rumble ( void data,
enum retro_rumble_effect  effect,
uint16_t  strength 
)
static
Here is the call graph for this function:

Variable Documentation

◆ pad_connection_snesusb

pad_connection_interface_t pad_connection_snesusb
Initial value:
= {
}
static void hidpad_snesusb_packet_handler(void *data, uint8_t *packet, uint16_t size)
Definition: connect_snesusb.c:88
static void * hidpad_snesusb_init(void *data, uint32_t slot, hid_driver_t *driver)
Definition: connect_snesusb.c:34
const char * hidpad_snesusb_get_name(void *data)
Definition: connect_snesusb.c:134
static int16_t hidpad_snesusb_get_axis(void *data, unsigned axis)
Definition: connect_snesusb.c:74
static void hidpad_snesusb_set_rumble(void *data, enum retro_rumble_effect effect, uint16_t strength)
Definition: connect_snesusb.c:126
static void hidpad_snesusb_get_buttons(void *data, input_bits_t *state)
Definition: connect_snesusb.c:63
static void hidpad_snesusb_deinit(void *data)
Definition: connect_snesusb.c:55