title: ADB touchevent does not work dependent on computer
body: <p>I have a few questions on ADB.</p>
  
  <p>I try to run the following batch file: </p>
  
  <pre><code>adb wait-for-devices
  adb shell sendevent /dev/input/event9 3 53 67 
  adb shell sendevent /dev/input/event9 3 54 768
  adb shell sendevent /dev/input/event9 3 48 40
  adb shell sendevent /dev/input/event9 3 50 4
  adb shell sendevent /dev/input/event9 3 57 0
  adb shell sendevent /dev/input/event9 0 2 0
  adb shell sendevent /dev/input/event9 0 0 0
  adb shell sendevent /dev/input/event9 3 53 67
  adb shell sendevent /dev/input/event9 3 54 768
  adb shell sendevent /dev/input/event9 3 48 0
  adb shell sendevent /dev/input/event9 3 50 4
  adb shell sendevent /dev/input/event9 3 57 0
  adb shell sendevent /dev/input/event9 0 2 0
  adb shell sendevent /dev/input/event9 0 0 0
  
  adb shell input keyevent 8
  adb shell input keyevent 9
  adb shell input keyevent 10
  adb shell input keyevent 11
  adb shell input keyevent 12
  
  adb shell input keyevent 5
  </code></pre>
  
  <ul>
  <li>first part deals with getting to the dialer via touchevents 
  (I did not find a keyevent for this)</li>
  <li>second part types 1,2,3,4,5 via keyevents</li>
  <li>third part presses the call button via keyevent</li>
  </ul>
  
  <p>If I run this script with the connected cellphone on my computer here, the touchevents
  are replayed correctly and 12345 is called.
  If I connect it to a different PC, the first part does not bring me to the dial screen
  for some reason?</p>
  
  <p>What could be the reason, that my code runs on one computer and not on the other?</p>
  
  <p>Is there another way to emulate finger sweeps except for touchevents?</p>
  
  <p><strong>EDIT</strong>:</p>
  
  <p>It seems, that the connection is a little slow on the pc, where it works not as good.
  ADB versions are the same and actually I was able to make the behavior run by changing the script.</p>
  
  <p>Now I see, that when I create touchevents e.g. for a sweeping action.
  These are many events.
  When I then input them one by one using the command adb shell sendevent as above.
  I can observe on the cellphone, that the sweeping is really really slow.
  Is there a way somehow to pipe the commands directly into adb such, that
  the reaction is as fast as with a normal finger sweep?</p>