The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
keyboard_layout_t Struct Reference

a keyboard layout maps PS/2 scan codes to characters. More...

#include </home/runner/work/ginnOS-docs/ginnOS-docs/ginnOS/src/drivers/keyboard/keyboard_layout.h>

Data Fields

const char * name
const char normal [128]
const char shift [128]
const char altgr [128]
const char altgr_shift [128]

Detailed Description

a keyboard layout maps PS/2 scan codes to characters.

three maps: normal, shift, and altgr (Option on Mac). a fourth map (altgr+shift) is also provided for { and }.

Field Documentation

◆ name

const char* keyboard_layout_t::name

◆ normal

const char keyboard_layout_t::normal[128]

◆ shift

const char keyboard_layout_t::shift[128]

◆ altgr

const char keyboard_layout_t::altgr[128]

◆ altgr_shift

const char keyboard_layout_t::altgr_shift[128]

The documentation for this struct was generated from the following file: