modify inputeventsource,read event in thread

This commit is contained in:
侯歌 2022-01-21 18:30:50 +08:00
parent 193a78a0ae
commit 4553ebb9ca
2 changed files with 5 additions and 5 deletions

View File

@ -109,7 +109,7 @@ int InputEventSource::handleEvents(){
}
int InputEventSource::process(){
LOGD_IF(mRawEvents.size(),"%p recv %d events ",this,mRawEvents.size());
LOGV_IF(mRawEvents.size(),"%p recv %d events ",this,mRawEvents.size());
while(mRawEvents.size()){
const INPUTEVENT e=mRawEvents.front();
struct timeval tv={e.tv_sec,e.tv_usec};