📄 i8042.c
字号:
/* * This file contains the PS2 keyboard driver for the i8042 * * Note that this driver will only handle a single i8042 device * * COPYRIGHT (c) 1998 by Radstone Technology * * * THIS FILE IS PROVIDED TO YOU, THE USER, "AS IS", WITHOUT WARRANTY OF ANY * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK * AS TO THE QUALITY AND PERFORMANCE OF ALL CODE IN THIS FILE IS WITH YOU. * * You are hereby granted permission to use, copy, modify, and distribute * this file, provided that this notice, plus the above copyright notice * and disclaimer, appears in all copies. Radstone Technology will provide * no support for this code. * * This driver uses the termios pseudo driver. * * $Id: i8042.c,v 1.3 2002/11/04 14:28:26 joel Exp $ */#include <rtems.h>#include <bsp.h>#include <rtems/libio.h>#include <libchip/serial.h>#include <ringbuf.h>#include "console.h"#include "i8042_p.h"#include "vga_p.h"/* * UK style keyboard */char pcUKNormalLookup[] = "1234567890-=\b\tqwertyuiop[]\n\0asdfghjkl;\'" "`\0#zxcvbnm,./\0*\0 \0\0\0\0\0\0\0\0\0\0\0\0" "\000789-456+1230.\0\0\\";char pcUKShiftedLookup[]= "!\"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -