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

Generic keyboard defines and scancode translations. More...

Classes

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

Macros

#define S(X)   (X | KBFLAG_LSHIFT)

Enumerations

enum  KBFLAGS {
  KBFLAG_RELEASE = 1 << 8, KBFLAG_EXTEND0 = 1 << 9, KBFLAG_EXTEND1 = 1 << 10, KBFLAG_NUM = 1 << 11,
  KBFLAG_LSHIFT = 1 << 12, KBFLAG_RSHIFT = 1 << 13, KBFLAG_LALT = 1 << 14, KBFLAG_RALT = 1 << 15,
  KBFLAG_LCTRL = 1 << 16, KBFLAG_RCTRL = 1 << 17, KBFLAG_LWIN = 1 << 18, KBFLAG_RWIN = 1 << 19,
  KBCODE_BREAK = KBFLAG_EXTEND0 | 0x7e, KBCODE_BSPACE = 0x66, KBCODE_CAPS = 0x58, KBCODE_DOWN = KBFLAG_EXTEND0 | 0x72,
  KBCODE_END = KBFLAG_EXTEND0 | 0x69, KBCODE_ENTER = 0x5a, KBCODE_ESC = 0x76, KBCODE_HOME = KBFLAG_EXTEND0 | 0x6c,
  KBCODE_INSERT = KBFLAG_EXTEND0 | 0x70, KBCODE_LEFT = KBFLAG_EXTEND0 | 0x6b, KBCODE_NUM = 0x77, KBCODE_PAUSE = KBFLAG_EXTEND1 | 0x77,
  KBCODE_RIGHT = KBFLAG_EXTEND0 | 0x74, KBCODE_SCROLL = 0x7E, KBCODE_SPACE = 0x29, KBCODE_SYSREQ = 0x84,
  KBCODE_UP = KBFLAG_EXTEND0 | 0x75
}
 We send set2 scancodes over the keycode bus including the following flags. More...

Detailed Description

Generic keyboard defines and scancode translations.

Documentation: PS2 hitrc chapter 11; Andries Brouwer Keyboard scancodes;

Copyright (C) 2007-2008, Bernhard Kauer bk@vm.nosp@m.mon..nosp@m.org Economic rights: Technische Universitaet Dresden (Germany)

This file is part of Vancouver.

Vancouver is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

Vancouver is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License version 2 for more details.

Macro Definition Documentation

#define S (   X)    (X | KBFLAG_LSHIFT)

Enumeration Type Documentation

enum KBFLAGS

We send set2 scancodes over the keycode bus including the following flags.

Enumerator:
KBFLAG_RELEASE 
KBFLAG_EXTEND0 
KBFLAG_EXTEND1 
KBFLAG_NUM 
KBFLAG_LSHIFT 
KBFLAG_RSHIFT 
KBFLAG_LALT 
KBFLAG_RALT 
KBFLAG_LCTRL 
KBFLAG_RCTRL 
KBFLAG_LWIN 
KBFLAG_RWIN 
KBCODE_BREAK 
KBCODE_BSPACE 
KBCODE_CAPS 
KBCODE_DOWN 
KBCODE_END 
KBCODE_ENTER 
KBCODE_ESC 
KBCODE_HOME 
KBCODE_INSERT 
KBCODE_LEFT 
KBCODE_NUM 
KBCODE_PAUSE 
KBCODE_RIGHT 
KBCODE_SCROLL 
KBCODE_SPACE 
KBCODE_SYSREQ 
KBCODE_UP