RetroArch
Classes | Macros | Functions | Variables
input_keymaps.h File Reference
#include <stdint.h>
#include <retro_common_api.h>
#include <libretro.h>
Include dependency graph for input_keymaps.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  rarch_key_map
 
struct  input_key_map
 

Macros

#define RARCH_KEY_MAP_RWEBINPUT_SIZE   111
 

Functions

void input_keymaps_init_keyboard_lut (const struct rarch_key_map *map)
 
enum retro_key input_keymaps_translate_keysym_to_rk (unsigned sym)
 
void input_keymaps_translate_rk_to_str (enum retro_key key, char *buf, size_t size)
 

Variables

const struct input_key_map input_config_key_map []
 
const struct rarch_key_map rarch_key_map_x11 []
 
const struct rarch_key_map rarch_key_map_sdl []
 
const struct rarch_key_map rarch_key_map_sdl2 []
 
const struct rarch_key_map rarch_key_map_dinput []
 
struct rarch_key_map rarch_key_map_rwebinput [RARCH_KEY_MAP_RWEBINPUT_SIZE]
 
const struct rarch_key_map rarch_key_map_linux []
 
const struct rarch_key_map rarch_key_map_apple_hid []
 
const struct rarch_key_map rarch_key_map_android []
 
const struct rarch_key_map rarch_key_map_qnx []
 
const struct rarch_key_map rarch_key_map_dos []
 
const struct rarch_key_map rarch_key_map_wiiu []
 
const struct rarch_key_map rarch_key_map_winraw []
 
enum retro_key rarch_keysym_lut [RETROK_LAST]
 

Macro Definition Documentation

◆ RARCH_KEY_MAP_RWEBINPUT_SIZE

#define RARCH_KEY_MAP_RWEBINPUT_SIZE   111

Function Documentation

◆ input_keymaps_init_keyboard_lut()

void input_keymaps_init_keyboard_lut ( const struct rarch_key_map map)

input_keymaps_init_keyboard_lut: : Keyboard map.

Initializes and sets the keyboard layout to a keyboard map ().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ input_keymaps_translate_keysym_to_rk()

enum retro_key input_keymaps_translate_keysym_to_rk ( unsigned  sym)

input_keymaps_translate_keysym_to_rk: : Key symbol.

Translates a key symbol from the keyboard layout table to an associated retro key identifier.

Returns: Retro key identifier.

Here is the caller graph for this function:

◆ input_keymaps_translate_rk_to_str()

void input_keymaps_translate_rk_to_str ( enum retro_key  key,
char *  buf,
size_t  size 
)

input_keymaps_translate_rk_to_str: : Retro key identifier. : Buffer. : Size of .

Translates a retro key identifier to a human-readable identifier string.

Here is the caller graph for this function:

Variable Documentation

◆ input_config_key_map

const struct input_key_map input_config_key_map[]

◆ rarch_key_map_android

const struct rarch_key_map rarch_key_map_android[]

◆ rarch_key_map_apple_hid

const struct rarch_key_map rarch_key_map_apple_hid[]

◆ rarch_key_map_dinput

const struct rarch_key_map rarch_key_map_dinput[]

◆ rarch_key_map_dos

const struct rarch_key_map rarch_key_map_dos[]

◆ rarch_key_map_linux

const struct rarch_key_map rarch_key_map_linux[]

◆ rarch_key_map_qnx

const struct rarch_key_map rarch_key_map_qnx[]

◆ rarch_key_map_rwebinput

struct rarch_key_map rarch_key_map_rwebinput[RARCH_KEY_MAP_RWEBINPUT_SIZE]

◆ rarch_key_map_sdl

const struct rarch_key_map rarch_key_map_sdl[]

◆ rarch_key_map_sdl2

const struct rarch_key_map rarch_key_map_sdl2[]

◆ rarch_key_map_wiiu

const struct rarch_key_map rarch_key_map_wiiu[]

◆ rarch_key_map_winraw

const struct rarch_key_map rarch_key_map_winraw[]

◆ rarch_key_map_x11

const struct rarch_key_map rarch_key_map_x11[]

◆ rarch_keysym_lut

enum retro_key rarch_keysym_lut[RETROK_LAST]