Beispiel #1
0
void initTP()//初始化TP
{        
#ifdef TOUCHPAD_SUPPORT
        tpinfo = touchpad_getinfo();
        tpreport = (touchpad_report_t*) malloc(sizeof(touchpad_report_t));
        memset(tpreport,0,sizeof(touchpad_report_t));
#endif
}
Beispiel #2
0
void initTP()
{	
	tpinfo = touchpad_getinfo();
	tpreport = (touchpad_report_t*) malloc(sizeof(touchpad_report_t));
	memset(tpreport,0,sizeof(touchpad_report_t));
}
void MouseHandling::UpdateConfig(Config* pConfig)
{
   m_ptad_info = pConfig->GetAllowMouse() ? touchpad_getinfo() : NULL;
}