PKUOS - Pintos
Pintos source browser for PKU Operating System course
Data Fields
keymap Struct Reference

Maps a set of contiguous scancodes into characters. More...

Data Fields

uint8_t first_scancode
 First scancode. More...
 
const char * chars
 chars[0] has scancode first_scancode, chars[1] has scancode first_scancode + 1, and so on to the end of the string. More...
 

Detailed Description

Maps a set of contiguous scancodes into characters.

Definition at line 44 of file kbd.c.

Field Documentation

◆ chars

const char* keymap::chars

chars[0] has scancode first_scancode, chars[1] has scancode first_scancode + 1, and so on to the end of the string.

Definition at line 47 of file kbd.c.

Referenced by map_key().

◆ first_scancode

uint8_t keymap::first_scancode

First scancode.

Definition at line 46 of file kbd.c.

Referenced by map_key().


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