RetroArch
Classes | Typedefs | Functions | Variables
dos_input.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "../input_driver.h"
#include "../input_keymaps.h"
#include "../drivers_keyboard/keyboard_event_dos.h"
Include dependency graph for dos_input.c:

Classes

struct  dos_input
 

Typedefs

typedef struct dos_input dos_input_t
 

Functions

static void dos_input_poll (void *data)
 
static int16_t dos_input_state (void *data, rarch_joypad_info_t joypad_info, const struct retro_keybind **binds, unsigned port, unsigned device, unsigned idx, unsigned id)
 
static void dos_input_free_input (void *data)
 
static voiddos_input_init (const char *joypad_driver)
 
static uint64_t dos_input_get_capabilities (void *data)
 
static const input_device_driver_tdos_input_get_joypad_driver (void *data)
 
static void dos_input_grab_mouse (void *data, bool state)
 
static bool dos_input_set_rumble (void *data, unsigned port, enum retro_rumble_effect effect, uint16_t strength)
 

Variables

input_driver_t input_dos
 

Typedef Documentation

◆ dos_input_t

typedef struct dos_input dos_input_t

Function Documentation

◆ dos_input_free_input()

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

◆ dos_input_get_capabilities()

static uint64_t dos_input_get_capabilities ( void data)
static

◆ dos_input_get_joypad_driver()

static const input_device_driver_t* dos_input_get_joypad_driver ( void data)
static

◆ dos_input_grab_mouse()

static void dos_input_grab_mouse ( void data,
bool  state 
)
static
Here is the call graph for this function:

◆ dos_input_init()

static void* dos_input_init ( const char *  joypad_driver)
static
Here is the call graph for this function:

◆ dos_input_poll()

static void dos_input_poll ( void data)
static

◆ dos_input_set_rumble()

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

◆ dos_input_state()

static int16_t dos_input_state ( void data,
rarch_joypad_info_t  joypad_info,
const struct retro_keybind **  binds,
unsigned  port,
unsigned  device,
unsigned  idx,
unsigned  id 
)
static
Here is the call graph for this function:

Variable Documentation

◆ input_dos

input_driver_t input_dos
Initial value:
= {
"dos",
}
static void dos_input_poll(void *data)
Definition: dos_input.c:32
static void dos_input_grab_mouse(void *data, bool state)
Definition: dos_input.c:109
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void * dos_input_init(const char *joypad_driver)
Definition: dos_input.c:76
static bool dos_input_set_rumble(void *data, unsigned port, enum retro_rumble_effect effect, uint16_t strength)
Definition: dos_input.c:115
static uint64_t dos_input_get_capabilities(void *data)
Definition: dos_input.c:92
static void dos_input_free_input(void *data)
Definition: dos_input.c:63
static const input_device_driver_t * dos_input_get_joypad_driver(void *data)
Definition: dos_input.c:101
static int16_t dos_input_state(void *data, rarch_joypad_info_t joypad_info, const struct retro_keybind **binds, unsigned port, unsigned device, unsigned idx, unsigned id)
Definition: dos_input.c:40