Searched refs:keyStart (Results 1 – 1 of 1) sorted by relevance
380 static struct timeval keyStart, keyEnd; in input_thread() local385 memset(&keyStart, 0, sizeof(struct timeval)); in input_thread()515 gettimeofday(&keyStart, NULL); in input_thread()516 printf("key down:%lu\n",keyStart.tv_sec); in input_thread()528 … printf("key hold time:%lu, g_key_test=%d\n",keyEnd.tv_sec-keyStart.tv_sec, g_key_test); in input_thread()536 if((keyEnd.tv_sec-keyStart.tv_sec) >= 5) in input_thread()