www.pudn.com > iMx31_WCE600.rar > keys.h
// // 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//------------------------------------------------------------------------------ // 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_