RetroArch
Classes | Typedefs | Functions | Variables
null_hid.c File Reference
#include <stdlib.h>
#include "../input_defines.h"
#include "../input_driver.h"
#include "../include/hid_driver.h"
Include dependency graph for null_hid.c:

Classes

struct  null_hid
 

Typedefs

typedef struct null_hid null_hid_t
 

Functions

static bool null_hid_joypad_query (void *data, unsigned pad)
 
static const char * null_hid_joypad_name (void *data, unsigned pad)
 
static void null_hid_joypad_get_buttons (void *data, unsigned port, input_bits_t *state)
 
static bool null_hid_joypad_button (void *data, unsigned port, uint16_t joykey)
 
static bool null_hid_joypad_rumble (void *data, unsigned pad, enum retro_rumble_effect effect, uint16_t strength)
 
static int16_t null_hid_joypad_axis (void *data, unsigned port, uint32_t joyaxis)
 
static voidnull_hid_init (void)
 
static void null_hid_free (const void *data)
 
static void null_hid_poll (void *data)
 

Variables

hid_driver_t null_hid
 

Typedef Documentation

◆ null_hid_t

typedef struct null_hid null_hid_t

Function Documentation

◆ null_hid_free()

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

◆ null_hid_init()

static void* null_hid_init ( void  )
static

◆ null_hid_joypad_axis()

static int16_t null_hid_joypad_axis ( void data,
unsigned  port,
uint32_t  joyaxis 
)
static
Here is the call graph for this function:

◆ null_hid_joypad_button()

static bool null_hid_joypad_button ( void data,
unsigned  port,
uint16_t  joykey 
)
static
Here is the call graph for this function:

◆ null_hid_joypad_get_buttons()

static void null_hid_joypad_get_buttons ( void data,
unsigned  port,
input_bits_t state 
)
static
Here is the call graph for this function:

◆ null_hid_joypad_name()

static const char* null_hid_joypad_name ( void data,
unsigned  pad 
)
static

◆ null_hid_joypad_query()

static bool null_hid_joypad_query ( void data,
unsigned  pad 
)
static

◆ null_hid_joypad_rumble()

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

◆ null_hid_poll()

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

Variable Documentation

◆ null_hid

Initial value:
= {
"null",
}
static void * null_hid_init(void)
Definition: null_hid.c:80
static bool null_hid_joypad_button(void *data, unsigned port, uint16_t joykey)
Definition: null_hid.c:51
static void null_hid_free(const void *data)
Definition: null_hid.c:85
static bool null_hid_joypad_rumble(void *data, unsigned pad, enum retro_rumble_effect effect, uint16_t strength)
Definition: null_hid.c:60
static const char * null_hid_joypad_name(void *data, unsigned pad)
Definition: null_hid.c:33
static void null_hid_poll(void *data)
Definition: null_hid.c:93
static bool null_hid_joypad_query(void *data, unsigned pad)
Definition: null_hid.c:28
static void null_hid_joypad_get_buttons(void *data, unsigned port, input_bits_t *state)
Definition: null_hid.c:42
static int16_t null_hid_joypad_axis(void *data, unsigned port, uint32_t joyaxis)
Definition: null_hid.c:71