RetroArch
Functions | Variables
input_keymaps.c File Reference
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <compat/strl.h>
#include <retro_assert.h>
#include <retro_miscellaneous.h>
#include "input_keymaps.h"
Include dependency graph for input_keymaps.c:
This graph shows which files directly or indirectly include this file:

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 []
 
enum retro_key rarch_keysym_lut [RETROK_LAST]
 

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_keysym_lut

enum retro_key rarch_keysym_lut[RETROK_LAST]