RetroArch
Public Attributes | List of all members
hid_driver Struct Reference

#include <hid_driver.h>

Public Attributes

void *(* init )(void)
 
bool(* query_pad )(void *handle, unsigned pad)
 
void(* free )(const void *handle)
 
bool(* button )(void *handle, unsigned pad, uint16_t button)
 
void(* get_buttons )(void *handle, unsigned pad, input_bits_t *state)
 
int16_t(* axis )(void *handle, unsigned pad, uint32_t axis)
 
void(* poll )(void *handle)
 
bool(* set_rumble )(void *handle, unsigned pad, enum retro_rumble_effect effect, uint16_t)
 
const char *(* name )(void *handle, unsigned pad)
 
const char * ident
 
void(* send_control )(void *handle, uint8_t *buf, size_t size)
 
int32_t(* set_report )(void *handle, uint8_t, uint8_t, void *data, uint32_t size)
 
int32_t(* set_idle )(void *handle, uint8_t amount)
 
int32_t(* set_protocol )(void *handle, uint8_t protocol)
 
int32_t(* read )(void *handle, void *buf, size_t size)
 

Member Data Documentation

◆ axis

int16_t(* hid_driver::axis) (void *handle, unsigned pad, uint32_t axis)

◆ button

bool(* hid_driver::button) (void *handle, unsigned pad, uint16_t button)

◆ free

void(* hid_driver::free) (const void *handle)

◆ get_buttons

void(* hid_driver::get_buttons) (void *handle, unsigned pad, input_bits_t *state)

◆ ident

const char* hid_driver::ident

◆ init

void*(* hid_driver::init) (void)

◆ name

const char*(* hid_driver::name) (void *handle, unsigned pad)

◆ poll

void(* hid_driver::poll) (void *handle)

◆ query_pad

bool(* hid_driver::query_pad) (void *handle, unsigned pad)

◆ read

int32_t(* hid_driver::read) (void *handle, void *buf, size_t size)

◆ send_control

void(* hid_driver::send_control) (void *handle, uint8_t *buf, size_t size)

◆ set_idle

int32_t(* hid_driver::set_idle) (void *handle, uint8_t amount)

◆ set_protocol

int32_t(* hid_driver::set_protocol) (void *handle, uint8_t protocol)

◆ set_report

int32_t(* hid_driver::set_report) (void *handle, uint8_t, uint8_t, void *data, uint32_t size)

◆ set_rumble

bool(* hid_driver::set_rumble) (void *handle, unsigned pad, enum retro_rumble_effect effect, uint16_t)

The documentation for this struct was generated from the following file: