📄 ps2keycodes.c
字号:
/****************************************************************************//*! *\MODULE JN-AN-1072 Jenie Wireless Keyboard * *\COMPONENT $RCSfile: PS2keyCodes.c,v $ * *\VERSION $Name: $ * *\REVISION $Revision: 1.1 $ * *\DATED $Date: 2007/11/14 10:18:23 $ * *\STATUS $State: Exp $ * *\AUTHOR APV Ward * *\DESCRIPTION PS2 Key Codes - lookup table. * * This file contains no executable code, only a lookup table for the translation of PS2 scan * codes into ASCII characters. Although a lookup table may not be a very memory efficient * solution, it does has the advantage of being faster than a search table. *//* CHANGE HISTORY * * $Log: PS2keyCodes.c,v $ * Revision 1.1 2007/11/14 10:18:23 mlook * Initial checkin * * * * LAST MODIFIED BY $Author: mlook $ * $Modtime: $ * **************************************************************************** * * This software is owned by Jennic and/or its supplier and is protected * under applicable copyright laws. All rights are reserved. We grant You, * and any third parties, a license to use this software solely and * exclusively on Jennic products. You, and any third parties must reproduce * the copyright and warranty notice and any other legend of ownership on each * copy or partial copy of the software. * * THIS SOFTWARE IS PROVIDED "AS IS". JENNIC MAKES NO WARRANTIES, WHETHER * EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, * ACCURACY OR LACK OF NEGLIGENCE. JENNIC SHALL NOT, IN ANY CIRCUMSTANCES, * BE LIABLE FOR ANY DAMAGES, INCLUDING, BUT NOT LIMITED TO, SPECIAL, * INCIDENTAL OR CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER. * * Copyright Jennic Ltd 2005, 2006, 2007. All rights reserved * ****************************************************************************//****************************************************************************//*** Include files ***//****************************************************************************/#include "jendefs.h"#include "PS2keyCodes.h"/****************************************************************************//*** Exported Variables ***//****************************************************************************//* Lookup table for keyboard SHIFTED key codes */PUBLIC const uint8 au8shiftedAlphabet[KBD_CHR_SIZE] = {/* 00 */ 0,/* 01 */ 0,/* 02 */ 0,/* 03 */ 0,/* 04 */ 0,/* 05 */ 0,/* 06 */ 0,/* 07 */ 0,/* 08 */ 0,/* 09 */ 0,/* 0A */ 0,/* 0B */ 0,/* 0C */ 0,/* 0D */ KBD_TAB,/* 0E */ '`',/* 0F */ 0,/* 10 */ 0,/* 11 */ 0,/* 12 */ 0,/* 13 */ 0,/* 14 */ 0,/* 15 */ 'Q',/* 16 */ '!',/* 17 */ 0,/* 18 */ 0,/* 19 */ 0,/* 1A */ 'Z',/* 1B */ 'S',/* 1C */ 'A',/* 1D */ 'W',/* 1E */ '"',/* 1F */ 0,/* 20 */ 0,/* 21 */ 'C',/* 22 */ 'X',/* 23 */ 'D',/* 24 */ 'E',/* 25 */ '$',/* 26 */ '
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -