RetroArch
Public Attributes | List of all members
input_driver Struct Reference

#include <input_driver.h>

Collaboration diagram for input_driver:
[legend]

Public Attributes

void *(* init )(const char *joypad_driver)
 
void(* poll )(void *data)
 
int16_t(* input_state )(void *data, rarch_joypad_info_t joypad_info, const struct retro_keybind **retro_keybinds, unsigned port, unsigned device, unsigned index, unsigned id)
 
void(* free )(void *data)
 
bool(* set_sensor_state )(void *data, unsigned port, enum retro_sensor_action action, unsigned rate)
 
float(* get_sensor_input )(void *data, unsigned port, unsigned id)
 
uint64_t(* get_capabilities )(void *data)
 
const char * ident
 
void(* grab_mouse )(void *data, bool state)
 
bool(* grab_stdin )(void *data)
 
bool(* set_rumble )(void *data, unsigned port, enum retro_rumble_effect effect, uint16_t state)
 
const input_device_driver_t *(* get_joypad_driver )(void *data)
 
const input_device_driver_t *(* get_sec_joypad_driver )(void *data)
 
bool(* keyboard_mapping_is_blocked )(void *data)
 
void(* keyboard_mapping_set_block )(void *data, bool value)
 

Member Data Documentation

◆ free

void(* input_driver::free) (void *data)

◆ get_capabilities

uint64_t(* input_driver::get_capabilities) (void *data)

◆ get_joypad_driver

const input_device_driver_t*(* input_driver::get_joypad_driver) (void *data)

◆ get_sec_joypad_driver

const input_device_driver_t*(* input_driver::get_sec_joypad_driver) (void *data)

◆ get_sensor_input

float(* input_driver::get_sensor_input) (void *data, unsigned port, unsigned id)

◆ grab_mouse

void(* input_driver::grab_mouse) (void *data, bool state)

◆ grab_stdin

bool(* input_driver::grab_stdin) (void *data)

◆ ident

const char* input_driver::ident

◆ init

void*(* input_driver::init) (const char *joypad_driver)

◆ input_state

int16_t(* input_driver::input_state) (void *data, rarch_joypad_info_t joypad_info, const struct retro_keybind **retro_keybinds, unsigned port, unsigned device, unsigned index, unsigned id)

◆ keyboard_mapping_is_blocked

bool(* input_driver::keyboard_mapping_is_blocked) (void *data)

◆ keyboard_mapping_set_block

void(* input_driver::keyboard_mapping_set_block) (void *data, bool value)

◆ poll

void(* input_driver::poll) (void *data)

◆ set_rumble

bool(* input_driver::set_rumble) (void *data, unsigned port, enum retro_rumble_effect effect, uint16_t state)

◆ set_sensor_state

bool(* input_driver::set_sensor_state) (void *data, unsigned port, enum retro_sensor_action action, unsigned rate)

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