NOVA User-Level Environment  Version testbox/changed-memory-timing-317-g320d8b5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GenericKeyboard Class Reference

#include <keyboard.h>

Inheritance diagram for GenericKeyboard:
Rocknshine Tutor

Classes

struct  ansi_map
 ANSI map, escape sequences to set2 keycodes. More...

Static Public Member Functions

static unsigned char translate_sc2_to_sc1 (unsigned char scancode)
 Translate from scancode set2/3 to set1.
static unsigned char translate_sc2_to_sc3 (unsigned scancode)
 Translate from scancode set2 to set3.
static unsigned char translate_sc1_to_sc2 (unsigned char scancode)
 Translate from scancode set1 to set2.
static struct ansi_mapget_ansi_map ()
static unsigned * get_ascii_map ()
static unsigned is_numeric_key (unsigned keycode, unsigned modifier_flags, unsigned ignore_flags=KBFLAG_NUM)
static unsigned is_function_key (unsigned keycode, unsigned modifier_flags, unsigned ignore_flags=KBFLAG_NUM)

Member Function Documentation

static struct ansi_map* GenericKeyboard::get_ansi_map ( )
inlinestaticread
static unsigned* GenericKeyboard::get_ascii_map ( )
inlinestatic

ASCII chars to set2 keycodes.

static unsigned GenericKeyboard::is_function_key ( unsigned  keycode,
unsigned  modifier_flags,
unsigned  ignore_flags = KBFLAG_NUM 
)
inlinestatic
static unsigned GenericKeyboard::is_numeric_key ( unsigned  keycode,
unsigned  modifier_flags,
unsigned  ignore_flags = KBFLAG_NUM 
)
inlinestatic
static unsigned char GenericKeyboard::translate_sc1_to_sc2 ( unsigned char  scancode)
inlinestatic

Translate from scancode set1 to set2.

static unsigned char GenericKeyboard::translate_sc2_to_sc1 ( unsigned char  scancode)
inlinestatic

Translate from scancode set2/3 to set1.

static unsigned char GenericKeyboard::translate_sc2_to_sc3 ( unsigned  scancode)
inlinestatic

Translate from scancode set2 to set3.


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