RetroArch
Public Attributes | List of all members
pad_connection_interface Struct Reference

#include <joypad_connection.h>

Public Attributes

void *(* init )(void *data, uint32_t slot, hid_driver_t *driver)
 
void(* deinit )(void *device)
 
void(* packet_handler )(void *device, uint8_t *packet, uint16_t size)
 
void(* set_rumble )(void *device, enum retro_rumble_effect effect, uint16_t strength)
 
void(* get_buttons )(void *data, input_bits_t *state)
 
int16_t(* get_axis )(void *data, unsigned axis)
 
const char *(* get_name )(void *data)
 
bool(* button )(void *data, uint16_t joykey)
 

Member Data Documentation

◆ button

bool(* pad_connection_interface::button) (void *data, uint16_t joykey)

◆ deinit

void(* pad_connection_interface::deinit) (void *device)

◆ get_axis

int16_t(* pad_connection_interface::get_axis) (void *data, unsigned axis)

◆ get_buttons

void(* pad_connection_interface::get_buttons) (void *data, input_bits_t *state)

◆ get_name

const char*(* pad_connection_interface::get_name) (void *data)

◆ init

void*(* pad_connection_interface::init) (void *data, uint32_t slot, hid_driver_t *driver)

◆ packet_handler

void(* pad_connection_interface::packet_handler) (void *device, uint8_t *packet, uint16_t size)

◆ set_rumble

void(* pad_connection_interface::set_rumble) (void *device, enum retro_rumble_effect effect, uint16_t strength)

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