RetroArch
Macros | Functions | Variables
keyboard_event_xkb.c File Reference
#include <xkbcommon/xkbcommon.h>
#include <sys/mman.h>
#include <lists/string_list.h>
#include "../input_driver.h"
#include "../input_keymaps.h"
#include "../../configuration.h"
Include dependency graph for keyboard_event_xkb.c:

Macros

#define MOD_MAP_SIZE   5
 

Functions

void free_xkb (void)
 
int init_xkb (int fd, size_t size)
 
void handle_xkb_state_mask (uint32_t depressed, uint32_t latched, uint32_t locked, uint32_t group)
 
int handle_xkb (int code, int value)
 

Variables

static struct xkb_context * xkb_ctx = NULL
 
static struct xkb_keymap * xkb_map = NULL
 
static struct xkb_state * xkb_state = NULL
 
static xkb_mod_index_t * mod_map_idx = NULL
 
static uint16_tmod_map_bit = 0
 

Macro Definition Documentation

◆ MOD_MAP_SIZE

#define MOD_MAP_SIZE   5

Function Documentation

◆ free_xkb()

void free_xkb ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handle_xkb()

int handle_xkb ( int  code,
int  value 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ handle_xkb_state_mask()

void handle_xkb_state_mask ( uint32_t  depressed,
uint32_t  latched,
uint32_t  locked,
uint32_t  group 
)
Here is the caller graph for this function:

◆ init_xkb()

int init_xkb ( int  fd,
size_t  size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ mod_map_bit

uint16_t* mod_map_bit = 0
static

◆ mod_map_idx

xkb_mod_index_t* mod_map_idx = NULL
static

◆ xkb_ctx

struct xkb_context* xkb_ctx = NULL
static

◆ xkb_map

struct xkb_keymap* xkb_map = NULL
static

◆ xkb_state

struct xkb_state* xkb_state = NULL
static