📄 uikbd.h
字号:
/*
* Start of Zoran Standard Header
* Copyright (c) 2005 Zoran Corporation
*
*
* All rights reserved. Proprietary and confidential.
*
* DESCRIPTION for uikbd.h
* Defines and declarations required by text-only UI handler
*
* NEW HISTORY COMMENT (description must be followed by a blank line)
* <Enter change description here>
* ===== HISTORY of changes in //depot/imgeng/sw/se_gw/ui/fs/common/uikbd.h
*
* 16/Aug/05 #3 dstrauss Removed KybdInit declaration.
* 16/Aug/05 #2 dstrauss Declare KybdInit().
* 5/Aug/05 #1 dstrauss Extract from kybd.h
*
* End of Zoran Standard Header
*/
#ifndef _UIKBD_H_
#define _UIKBD_H_
/* code returned by KybdDecode() & KybdGetKey() when no key is pressed */
#define KYBD_NO_KEY ((Uint8)0xFF)
#ifndef UI_DISABLE_COMBO_KEY
#define UI_ENABLE_COMBO
#endif
#ifdef UI_ENABLE_COMBO
// combo-key definition
#define KEY_SELECT_MENU 0x09
#define KEY_SELECT_LEFT 0x0A
#define KEY_SELECT_RIGHT 0x0C
#define KEY_SELECT_COPY 0x18
#define KEY_SELECT_SCALE 0x28
#define KEY_SELECT_BRIGHT 0x48
#define KEY_SELECT_PAPER 0x88
#define KEY_COMBO_BASE 0x30
#define KEY_COMBO_MENU (KEY_COMBO_BASE + KEY_SELECT_MENU)
#define KEY_COMBO_LEFT (KEY_COMBO_BASE + KEY_SELECT_LEFT)
#define KEY_COMBO_RIGHT (KEY_COMBO_BASE + KEY_SELECT_RIGHT)
#endif
extern API_RET KybdGetKey(Uint8* pCode, Uint32 timeout);
extern API_RET KybdHits(Uint8* pNumKeys);
extern API_RET KybdGetKeyDownTime(Uint32* pDownTime);
#endif /* _UIKBD_H_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -