www.pudn.com > uCOS-uCGUI-FATFs.rar > GUITouchConf.h, change:2009-10-20,size:1641b


/* 
********************************************************************************************************* 
*                                                uC/GUI 
*                        Universal graphic software for embedded applications 
* 
*                       (c) Copyright 2002, Micrium Inc., Weston, FL 
*                       (c) Copyright 2002, SEGGER Microcontroller Systeme GmbH 
* 
*              礐/GUI is protected by international copyright laws. Knowledge of the 
*              source code may not be used to write a similar product. This file may 
*              only be used in accordance with a license and should not be redistributed 
*              in any way. We appreciate your understanding and fairness. 
* 
---------------------------------------------------------------------- 
File        : GUITouch.Conf.h 
Purpose     : Configures emWin GSC touch screen module 
---------------------------------------------------------------------- 
*/ 
 
 
#ifndef GUITOUCH_CONF_H 
#define GUITOUCH_CONF_H 
 
#define GUI_TOUCH_XSIZE      LCD_XSIZE	// 被触摸屏覆盖的水平区域 
#define GUI_TOUCH_YSIZE		 LCD_YSIZE	// 被触摸屏覆盖的垂直区域 
 
#define GUI_TOUCH_AD_LEFT    3640   	// 由A/D转换返回的最小值	  X	 330 
#define GUI_TOUCH_AD_RIGHT   180  	 	// 由A/D转换返回的最大值	  X	 3650 
 
#define GUI_TOUCH_AD_TOP     380		// 由A/D转换返回的最小值	  Y 
#define GUI_TOUCH_AD_BOTTOM  3650 	 	// 由A/D转换返回的最大值	  Y 
   
#define GUI_TOUCH_SWAP_XY    0	     	// 设为1则X轴和Y轴相互交换 
#define GUI_TOUCH_MIRROR_X   0		 	// X轴镜像 
#define GUI_TOUCH_MIRROR_Y   0		 	// Y轴镜像 
 
#endif /* GUITOUCH_CONF_H */