keyboard.h
来自「这是DVD中伺服部分的核心代码」· C头文件 代码 · 共 51 行
H
51 行
/******************************************************************************
*******************************************************************************
** **
** Copyright (c) 2006 Videon Central, Inc. **
** All rights reserved. **
** **
** The computer program contained herein contains proprietary information **
** which is the property of Videon Central, Inc. The program may be used **
** and/or copied only with the written permission of Videon Central, Inc. **
** or in accordance with the terms and conditions stipulated in the **
** agreement/contract under which the programs have been supplied. **
** **
*******************************************************************************
******************************************************************************/
/**
* @file keyboard.h
*
* $Revision: 1.2 $
*
* keyboard abstraction layer
*
*/
#ifndef __KEYBOARD_H
#define __KEYBOARD_H
#include "vdvd_types.h"
typedef enum _tag_KeyboardKeycodeType
{
KEYBOARD_KEYCODE_UP_ARROW = 0x0F41,
KEYBOARD_KEYCODE_DOWN_ARROW = 0x0F42,
KEYBOARD_KEYCODE_LEFT_ARROW = 0x0F43,
KEYBOARD_KEYCODE_RIGHT_ARROW = 0x0F44,
KEYBOARD_KEYCODE_ENTER = 13,
KEYBOARD_KEYCODE_SPACEBAR = 32,
} KeyboardKeycodeType;
void Keyboard_Open ( void );
void Keyboard_Close ( void );
BOOLEAN Keyboard_IsKeyAvailable ( void );
KeyboardKeycodeType Keyboard_GetKey ( void );
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?