Cartucho / android-touch-record-replay

How to record and replay touchscreen events on an Android device.
Apache License 2.0
224 stars 46 forks source link

Replay works, but getevent not showing X, Y lines. #14

Closed instasck closed 4 years ago

instasck commented 4 years ago

this is what getevent sees:

[  182968.637659] 0003 0039 000009c0
[  182968.637659] 0001 014a 00000001
[  182968.637659] 0000 0000 00000000
[  182968.747814] 0003 0039 7fffffff
[  182968.747814] 0001 014a 00000000
[  182968.747814] 0000 0000 00000000

while the file is:

[  182160.523129] 0003 0039 000009c0
[  182160.523129] 0003 0035 00000039
[  182160.523129] 0003 0036 0000007c
[  182160.523129] 0001 014a 00000001
[  182160.632657] 0000 0000 00000000
[  182160.632657] 0003 0039 ffffffff
[  182160.632657] 0001 014a 00000000
[  182160.632657] 0000 0000 00000000

The bizzard is the click is in the correct place :() The issue is that when I click the screen bymyself is do like the click from the screen was never "UP" so I see multitouch. but when sending another click to the screen with the software it is not a multitouch click but singe one.

Cartucho commented 4 years ago

Can you try using Peter's technique: https://github.com/Cartucho/android-touch-record-replay/issues/12

Cartucho commented 4 years ago

@instasck, this should be fixed. Could you please confirm?

instasck commented 4 years ago

@Cartucho this is not my isssue, I have seen last touch not recorded so I just remove it manually. The issue is different as discribed ....

Cartucho commented 4 years ago

Can you please update the code and give it a try? We made many changes in the last commits.

instasck commented 4 years ago

@Cartucho I don't use the *.sh files ... I only use: getevent -t /dev/input/event1 | tee record_new And split the file with my own code.

Cartucho commented 4 years ago

oh ok, then the issue is not related to my code