RetroArch
Classes | Macros | Functions | Variables
menu_input_bind_dialog.c File Reference
#include <compat/strl.h>
#include <features/features_cpu.h>
#include "menu_input_bind_dialog.h"
#include "../menu_driver.h"
#include "../../input/input_driver.h"
#include "../../configuration.h"
#include "../../performance_counters.h"
Include dependency graph for menu_input_bind_dialog.c:

Classes

struct  menu_bind_state_port
 
struct  menu_bind_axis_state
 
struct  menu_bind_state
 

Macros

#define MENU_MAX_BUTTONS   219
 
#define MENU_MAX_AXES   32
 
#define MENU_MAX_HATS   4
 
#define MENU_MAX_MBUTTONS   32 /*enough to cover largest libretro constant*/
 

Functions

static bool menu_input_key_bind_custom_bind_keyboard_cb (void *data, unsigned code)
 
static int menu_input_key_bind_set_mode_common (enum menu_input_binds_ctl_state state, rarch_setting_t *setting)
 
static void menu_input_key_bind_poll_bind_get_rested_axes (struct menu_bind_state *state, unsigned port)
 
static void menu_input_key_bind_poll_bind_state_internal (const input_device_driver_t *joypad, struct menu_bind_state *state, unsigned port, bool timed_out)
 
static void menu_input_key_bind_poll_bind_state (struct menu_bind_state *state, unsigned port, bool timed_out)
 
bool menu_input_key_bind_set_mode (enum menu_input_binds_ctl_state state, void *data)
 
static bool menu_input_key_bind_poll_find_trigger_pad (struct menu_bind_state *state, struct menu_bind_state *new_state, struct retro_keybind *output, unsigned p)
 
static bool menu_input_key_bind_poll_find_hold_pad (struct menu_bind_state *new_state, struct retro_keybind *output, unsigned p)
 
bool menu_input_key_bind_poll_find_hold (struct menu_bind_state *new_state, struct retro_keybind *output)
 
static bool menu_input_key_bind_poll_find_trigger (struct menu_bind_state *state, struct menu_bind_state *new_state, struct retro_keybind *output)
 
bool menu_input_key_bind_set_min_max (menu_input_ctx_bind_limits_t *lim)
 
bool menu_input_key_bind_iterate (menu_input_ctx_bind_t *bind)
 

Variables

static unsigned menu_bind_port = 0
 
static struct menu_bind_state menu_input_binds = {0}
 

Macro Definition Documentation

◆ MENU_MAX_AXES

#define MENU_MAX_AXES   32

◆ MENU_MAX_BUTTONS

#define MENU_MAX_BUTTONS   219

◆ MENU_MAX_HATS

#define MENU_MAX_HATS   4

◆ MENU_MAX_MBUTTONS

#define MENU_MAX_MBUTTONS   32 /*enough to cover largest libretro constant*/

Function Documentation

◆ menu_input_key_bind_custom_bind_keyboard_cb()

static bool menu_input_key_bind_custom_bind_keyboard_cb ( void data,
unsigned  code 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_input_key_bind_iterate()

bool menu_input_key_bind_iterate ( menu_input_ctx_bind_t bind)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_input_key_bind_poll_bind_get_rested_axes()

static void menu_input_key_bind_poll_bind_get_rested_axes ( struct menu_bind_state state,
unsigned  port 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_input_key_bind_poll_bind_state()

static void menu_input_key_bind_poll_bind_state ( struct menu_bind_state state,
unsigned  port,
bool  timed_out 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_input_key_bind_poll_bind_state_internal()

static void menu_input_key_bind_poll_bind_state_internal ( const input_device_driver_t joypad,
struct menu_bind_state state,
unsigned  port,
bool  timed_out 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_input_key_bind_poll_find_hold()

bool menu_input_key_bind_poll_find_hold ( struct menu_bind_state new_state,
struct retro_keybind output 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_input_key_bind_poll_find_hold_pad()

static bool menu_input_key_bind_poll_find_hold_pad ( struct menu_bind_state new_state,
struct retro_keybind output,
unsigned  p 
)
static
Here is the caller graph for this function:

◆ menu_input_key_bind_poll_find_trigger()

static bool menu_input_key_bind_poll_find_trigger ( struct menu_bind_state state,
struct menu_bind_state new_state,
struct retro_keybind output 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_input_key_bind_poll_find_trigger_pad()

static bool menu_input_key_bind_poll_find_trigger_pad ( struct menu_bind_state state,
struct menu_bind_state new_state,
struct retro_keybind output,
unsigned  p 
)
static
Here is the caller graph for this function:

◆ menu_input_key_bind_set_min_max()

bool menu_input_key_bind_set_min_max ( menu_input_ctx_bind_limits_t lim)
Here is the caller graph for this function:

◆ menu_input_key_bind_set_mode()

bool menu_input_key_bind_set_mode ( enum menu_input_binds_ctl_state  state,
void data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_input_key_bind_set_mode_common()

static int menu_input_key_bind_set_mode_common ( enum menu_input_binds_ctl_state  state,
rarch_setting_t setting 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ menu_bind_port

unsigned menu_bind_port = 0
static

◆ menu_input_binds

struct menu_bind_state menu_input_binds = {0}
static