keys.h

来自「Freescale ARM11系列CPU MX31的WINCE 5.0下的BSP」· C头文件 代码 · 共 44 行

H
44
字号
//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
//------------------------------------------------------------------------------
//
// Copyright (C) 2006, Freescale Semiconductor, Inc. All Rights Reserved.
// THIS SOURCE CODE, AND ITS USE AND DISTRIBUTION, IS SUBJECT TO THE TERMS
// AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT
//
//------------------------------------------------------------------------------
//
// File: keys.h
//
// Definitions for Keypad module used by IPL.
//
//------------------------------------------------------------------------------
#ifndef __KEYS_H_
#define __KEYS_H_

#include <winuserm.h>

//------------------------------------------------------------------------------
// Defines

// Key bit definition
#define KEY_NONE            0x00000000
#define KEY_TSOFT1          0x00000001
#define KEY_TSOFT2          0x00000002

//------------------------------------------------------------------------------
// Functions
extern void KeypadInit(void);
extern DWORD KeypadRead();

#endif // __KEYS_H_

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?