PatchworkOS
Loading...
Searching...
No Matches
kbd.c File Reference
#include "kbd.h"

Go to the source code of this file.

Data Structures

struct  keymap_entry_t
 
struct  keymap_t
 

Functions

char kbd_ascii (keycode_t code, kbd_mods_t mods)
 

Variables

static keymap_t keymap
 

Function Documentation

◆ kbd_ascii()

char kbd_ascii ( keycode_t  code,
kbd_mods_t  mods 
)

Definition at line 95 of file kbd.c.

References KBD_MOD_SHIFT, keymap, keymap_t::map, keymap_entry_t::norm, keymap_entry_t::shift, and UINT8_MAX.

Referenced by dwm_kbd_read().

Variable Documentation

◆ keymap

keymap_t keymap
static

Definition at line 16 of file kbd.c.

Referenced by kbd_ascii().