key.h
来自「keil C51 LCD 驱动源码,其中还有I2C驱动,ADC驱动,键盘操作等,」· C头文件 代码 · 共 50 行
H
50 行
/****************************************************************************
+----------------------------------------------------------------------+
| Copyright Trumpion Microelectronics Inc. 1999 |
| Trumpion Microelectronics Inc. reserves the right to change products |
| or specifications without notice. |
+----------------------------------------------------------------------+
Project : LCD monitor
Version : 0.94
File Name : key.h
Functions : KEY constant and function definition
Revision :
1999-05-18 OriginalTeam First Created
2000-07-17 Bill Tseng Modified for Zurac-II
****************************************************************************/
#ifndef _KEY_H
#define _KEY_H
#define POWER_KEY 0x7C
#define MENU_KEY 0xBC
#define PLUS_KEY 0xDC
#define MINUS_KEY 0xEC
#define AUTO_KEY 0xF8
#define DOWN_KEY 0xF4
#define NO_KEY 0xFC
#define INPUT_KEY (DOWN_KEY & MENU_KEY)
#define BURNIN_KEY (MINUS_KEY & PLUS_KEY)
#define RESET_KEY (MINUS_KEY & PLUS_KEY)
#define ISP_KEY (MINUS_KEY & PLUS_KEY & AUTO_KEY)
extern void KeyCheck(void);
extern void Key(void);
extern Byte KeyGetNextOsdNumber(Byte keyval);
extern void KeyFunctionSW(void);
extern void KeyMnProcess(Byte);
extern void KeyRLProcess(void);
extern void WordValAdd(void);
extern void ByteValAdd(void);
extern void SystemPowerOn(void);
extern void SystemPowerOff(Bool);
extern void SystemStandBy(void);
extern void SystemInputSource(Byte);
//algu 1107 extern void KeyPresetCheck(void);
extern void CheckPowerKey(void);
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?