📄 keyboard.h
字号:
/******************************************************************************
*******************************************************************************
** **
** 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -