RetroArch
Functions | Variables
hid_joypad.c File Reference
#include "../../tasks/tasks_internal.h"
#include "../input_driver.h"
Include dependency graph for hid_joypad.c:

Functions

static bool hid_joypad_init (void *data)
 
static bool hid_joypad_query_pad (unsigned pad)
 
static void hid_joypad_free (void)
 
static bool hid_joypad_button (unsigned port, uint16_t joykey)
 
static void hid_joypad_get_buttons (unsigned port, input_bits_t *state)
 
static int16_t hid_joypad_axis (unsigned port, uint32_t joyaxis)
 
static void hid_joypad_poll (void)
 
static bool hid_joypad_rumble (unsigned pad, enum retro_rumble_effect effect, uint16_t strength)
 
static const char * hid_joypad_name (unsigned pad)
 

Variables

static const hid_driver_tgeneric_hid = NULL
 
input_device_driver_t hid_joypad
 

Function Documentation

◆ hid_joypad_axis()

static int16_t hid_joypad_axis ( unsigned  port,
uint32_t  joyaxis 
)
static

◆ hid_joypad_button()

static bool hid_joypad_button ( unsigned  port,
uint16_t  joykey 
)
static

◆ hid_joypad_free()

static void hid_joypad_free ( void  )
static

◆ hid_joypad_get_buttons()

static void hid_joypad_get_buttons ( unsigned  port,
input_bits_t state 
)
static

◆ hid_joypad_init()

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

◆ hid_joypad_name()

static const char* hid_joypad_name ( unsigned  pad)
static

◆ hid_joypad_poll()

static void hid_joypad_poll ( void  )
static

◆ hid_joypad_query_pad()

static bool hid_joypad_query_pad ( unsigned  pad)
static

◆ hid_joypad_rumble()

static bool hid_joypad_rumble ( unsigned  pad,
enum retro_rumble_effect  effect,
uint16_t  strength 
)
static

Variable Documentation

◆ generic_hid

const hid_driver_t* generic_hid = NULL
static

◆ hid_joypad

Initial value:
= {
"hid"
}
static const char * hid_joypad_name(unsigned pad)
Definition: hid_joypad.c:87
static int16_t hid_joypad_axis(unsigned port, uint32_t joyaxis)
Definition: hid_joypad.c:66
static bool hid_joypad_rumble(unsigned pad, enum retro_rumble_effect effect, uint16_t strength)
Definition: hid_joypad.c:79
static bool hid_joypad_query_pad(unsigned pad)
Definition: hid_joypad.c:33
static void hid_joypad_free(void)
Definition: hid_joypad.c:40
static bool hid_joypad_button(unsigned port, uint16_t joykey)
Definition: hid_joypad.c:51
static void hid_joypad_poll(void)
Definition: hid_joypad.c:73
static void hid_joypad_get_buttons(unsigned port, input_bits_t *state)
Definition: hid_joypad.c:58
static bool hid_joypad_init(void *data)
Definition: hid_joypad.c:22