📄 lk201.h
字号:
/* * @(#)lk201.h 4.1 (ULTRIX) 8/9/90 *//************************************************************************ * * * Copyright (c) 1988,89 by * * Digital Equipment Corporation, Maynard, MA * * All rights reserved. * * * * This software is furnished under a license and may be used and * * copied only in accordance with the terms of such license and * * with the inclusion of the above copyright notice. This * * software or any other copies thereof may not be provided or * * otherwise made available to any other person. No title to and * * ownership of the software is hereby transferred. * * * * The information in this software is subject to change without * * notice and should not be construed as a commitment by Digital * * Equipment Corporation. * * * * Digital assumes no responsibility for the use or reliability * * of its software on equipment which is not supplied by Digital. * * * ************************************************************************ * * * Modification history * * 4-Jul-90 Randall Brown * Created file. *//* Lk201/301 keyboard */#define LK_UPDOWN 0x86 /* bits for setting lk201 modes */#define LK_AUTODOWN 0x82#define LK_DOWN 0x80#define LK_DEFAULTS 0xd3 /* reset (some) default settings*/#define LK_AR_ENABLE 0xe3 /* global auto repeat enable */#define LK_CL_ENABLE 0x1b /* keyclick enable */#define LK_KBD_ENABLE 0x8b /* keyboard enable */#define LK_BELL_ENABLE 0x23 /* the bell */#define LK_LED_ENABLE 0x13 /* light led */#define LK_LED_DISABLE 0x11 /* turn off led */#define LK_RING_BELL 0xa7 /* ring keyboard bell */#define LED_1 0x81 /* led bits */#define LED_2 0x82#define LED_3 0x84#define LED_4 0x88#define LED_ALL 0x8f#define LK_KDOWN_ERROR 0x3d /* key down on powerup error */#define LK_POWER_ERROR 0x3e /* keyboard failure on pwrup tst*/#define LK_OUTPUT_ERROR 0xb5 /* keystrokes lost during inhbt */#define LK_INPUT_ERROR 0xb6 /* garbage command to keyboard */#define LK_LOWEST 0x56 /* lowest significant keycode */#define LK_DIV6_START 0xad /* start of div 6 */#define LK_DIV5_END 0xb2 /* end of div 5 *//* Keycodes for special keys and functions */#define SHIFT 0xae#define LOCK 0xb0#define REPEAT 0xb4#define CNTRL 0xaf#define ALLUP 0xb3#define HOLD 0x56
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -