/********************************** (C) COPYRIGHT ******************************
* File Name          :usb_driver.h
* Author             : DL
* Version            : V1.1
* Date               : 2020/06/02
* Description        : A demo for USB compound device created by CH552, support
					   touch panel , and HID-compliant device.
********************************************************************************/
#ifndef _GESTURE_H
#define _GESTURE_H
#include "typedef.h"

#ifdef GESTURE
	extern UINT8 byTouchNumberChange;  //˫ָ���ʱ��¼��ָ���仯
	extern UINT8 byTouchTime1;	        //��ָ���ʱ��ʱ
	extern UINT8 byTouchTime2;	        //˫ָ���ʱ��ʱ
//		extern UINT16 wCoorXBak[];	        //����X���꣬�����ж��Ƿ��л���
//		extern UINT16 wCoorYBak[];	        //����Y���꣬�����ж��Ƿ��л���
	extern UINT8 byFirstTouch;	        //����˫ָ��һ�ΰ���ȥ��
	extern BOOL bMoveFlag;		        //˫ָ������־
	extern BOOL bclickFlag;	        //˫ָ�����־
	extern UINT8 byWheelUpDown;        //˫ָ������������¹�����־

	extern void WheelMove(void);
	extern UINT8 TwoPointsClick(void);
	extern UINT8 FourfingersGesture(void);
	
#endif

#ifdef DOUBLECLIK_FILETER
extern UINT8 DoubleClickTimer;
void DoubleClickFilter(BOOL flag, UINT8 id);
#endif

#ifdef CALL_OSD_MENU
extern void CallOSDMenu(void);	
#endif

#endif
