RetroArch
Classes | Macros | Functions | Variables
wskbdutil.c File Reference
#include <sys/param.h>
#include <sys/types.h>
#include <sys/cdefs.h>
#include <sys/errno.h>
#include <malloc.h>
#include <stdio.h>
#include <wiikeyboard/wsksymdef.h>
#include "wsksymvar.h"
Include dependency graph for wskbdutil.c:

Classes

struct  compose_tab_s
 

Macros

#define COMPOSE_SIZE   sizeof(compose_tab)/sizeof(compose_tab[0])
 

Functions

int compose_tab_cmp (struct compose_tab_s *, struct compose_tab_s *)
 
keysym_t ksym_upcase (keysym_t)
 
void fillmapentry (const keysym_t *, int, struct wscons_keymap *)
 
keysym_t wskbd_compose_value (keysym_t *compose_buf)
 
void fillmapentry (keysym_t *kp, int len, struct wscons_keymap *mapentry) const
 
void wskbd_get_mapentry (struct wskbd_mapdata *mapdata, int kc, struct wscons_keymap *mapentry) const
 
void wskbd_init_keymap (int newlen, struct wscons_keymap **map, int *maplen)
 
int wskbd_load_keymap (struct wskbd_mapdata *mapdata, struct wscons_keymap **map, int *maplen) const
 

Variables

static struct compose_tab_s compose_tab []
 
static int compose_tab_inorder = 0
 
static const u_char latin1_to_upper [256]
 

Macro Definition Documentation

◆ COMPOSE_SIZE

#define COMPOSE_SIZE   sizeof(compose_tab)/sizeof(compose_tab[0])

Function Documentation

◆ compose_tab_cmp()

int compose_tab_cmp ( struct compose_tab_s i,
struct compose_tab_s j 
)
inline
Here is the caller graph for this function:

◆ fillmapentry() [1/2]

void fillmapentry ( const keysym_t ,
int  ,
struct wscons_keymap  
)
Here is the caller graph for this function:

◆ fillmapentry() [2/2]

void fillmapentry ( keysym_t kp,
int  len,
struct wscons_keymap mapentry 
) const
Here is the call graph for this function:

◆ ksym_upcase()

keysym_t ksym_upcase ( keysym_t  ksym)
Here is the caller graph for this function:

◆ wskbd_compose_value()

keysym_t wskbd_compose_value ( keysym_t compose_buf)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wskbd_get_mapentry()

void wskbd_get_mapentry ( struct wskbd_mapdata mapdata,
int  kc,
struct wscons_keymap mapentry 
) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wskbd_init_keymap()

void wskbd_init_keymap ( int  newlen,
struct wscons_keymap **  map,
int *  maplen 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wskbd_load_keymap()

int wskbd_load_keymap ( struct wskbd_mapdata mapdata,
struct wscons_keymap **  map,
int *  maplen 
) const
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ compose_tab

struct compose_tab_s compose_tab[]
static

◆ compose_tab_inorder

int compose_tab_inorder = 0
static

◆ latin1_to_upper

const u_char latin1_to_upper[256]
static