mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-11-29 18:59:14 +08:00
change duto cdroid's api change
This commit is contained in:
parent
0b124cacd0
commit
b019ffb71b
@ -21,7 +21,7 @@ public:
|
||||
int eventCount = 0;
|
||||
int32_t tmEVT = 0;
|
||||
for(int i=0;i<size;i++){
|
||||
d.putRawEvent({0,tmEVT},mts[i].type,mts[i].code,mts[i].value);
|
||||
d.putEvent({0,tmEVT},mts[i].type,mts[i].code,mts[i].value);
|
||||
if((mts[i].type==EV_SYN)&&(mts[i].code==SYN_REPORT))
|
||||
tmEVT+=200*1000000;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user