touchpanel_driver.h

来自「凌阳SPCE3200多媒体开发板自带源程序。共安排了32个子目录」· C头文件 代码 · 共 38 行

H
38
字号
/******************************************************************************
 *
 *     The information contained herein is the exclusive property of
 *   Sunplus Technology Co. And shall not be distributed, reproduced,
 *   or disclosed in whole in part without prior written permission.
 *
 *         (C) COPYRIGHT 2005   SUNPLUS TECHNOLOGY CO.
 *                        ALL RIGHTS RESERVED
 *
 * The entire notice above must be reproduced on all authorized copies.
 *
 *****************************************************************************/
 	
typedef struct {
	    float  x;
	    float  y;	   
} TouchPanelPoint;


typedef struct {
		float lcd_x;
		float lcd_y;
} Lcd_Point;

extern TouchPanelPoint* pTouchPanelPoint;
extern Lcd_Point* pLcd_Point;
extern TouchPanelPoint point;
extern Lcd_Point screenPoint;

void TouchPanel_Init();
void TouchPanel_GetValue( TouchPanelPoint* );
void TouchPanel_to_Lcd( TouchPanelPoint* , Lcd_Point* );





⌨️ 快捷键说明

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