Since my original posting, I have also tried the following with no
luck.

event send EV_REL:REL_X:100 EV_REL:REL_Y:100 EV_SYN:SYN_REPORT:0
EV_KEY:BTN_LEFT:1 EV_SYN:SYN_REPORT:0 EV_KEY:BTN_LEFT:0
EV_SYN:SYN_REPORT:0

event send EV_ABS:ABS_X:100 event send EV_ABS:ABS_Y:100 event send
EV_SYN:SYN_REPORT:0 event send EV_KEY:BTN_LEFT:1 event send
EV_SYN:SYN_REPORT:0 event send EV_KEY:BTN_LEFT:0 event send
EV_SYN:SYN_REPORT:0

event send EV_REL:REL_X:100 EV_REL:REL_Y:100 EV_SYN:SYN_REPORT:0
EV_KEY:BTN_LEFT:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_PRESSURE:1
EV_SYN:SYN_REPORT:0 EV_KEY:BTN_LEFT:0 EV_SYN:SYN_REPORT:0

event send EV_REL:REL_X:200 EV_REL:REL_Y:200 EV_SYN:SYN_REPORT:0
EV_KEY:BTN_LEFT:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_PRESSURE:1
EV_SYN:SYN_REPORT:0 EV_KEY:BTN_LEFT:0 EV_SYN:SYN_REPORT:0

event send EV_KEY:BTN_MOUSE:0 EV_REL:REL_X:100 EV_REL:REL_Y:100
EV_SYN:SYN_REPORT:0 EV_KEY:BTN_LEFT:1 EV_SYN:SYN_REPORT:0
EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_REPORT:0 EV_KEY:BTN_LEFT:0
EV_SYN:SYN_REPORT:0

event send EV_KEY:BTN_MOUSE:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_X:100
EV_ABS:ABS_Y:100 EV_SYN:SYN_REPORT:0 EV_KEY:BTN_LEFT:1
EV_SYN:SYN_REPORT:0 EV_KEY:BTN_LEFT:0 EV_SYN:SYN_REPORT:0
EV_KEY:BTN_MOUSE:0 EV_SYN:SYN_REPORT:0

event send EV_ABS:ABS_X:0 EV_ABS:ABS_Y:0 EV_SYN:SYN_REPORT:0
EV_REL:REL_X:200 EV_REL:REL_Y:200 EV_SYN:SYN_REPORT:0 EV_KEY:BTN_LEFT:
1 EV_SYN:SYN_REPORT:0 EV_REL:REL_X:10 EV_REL:REL_Y:10
EV_SYN:SYN_REPORT:0


event send EV_REL:REL_X:100 EV_REL:REL_Y:100 EV_SYN:SYN_REPORT:0
EV_KEY:BTN_TOUCH:1 EV_SYN:SYN_REPORT:0 EV_KEY:BTN_TOUCH:0
EV_SYN:SYN_REPORT:0

event send EV_ABS:ABS_X:100 EV_ABS:ABS_Y:100 EV_SYN:SYN_REPORT:0
EV_KEY:BTN_TOUCH:1 EV_SYN:SYN_REPORT:0 EV_KEY:BTN_TOUCH:0
EV_SYN:SYN_REPORT:0

event send EV_ABS:ABS_X:100 EV_ABS:ABS_Y:100 EV_SYN:SYN_REPORT:0
EV_KEY:BTN_TOUCH:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_PRESSURE:1
EV_SYN:SYN_REPORT:0EV_KEY:BTN_TOUCH:0 EV_SYN:SYN_REPORT:0

event send EV_ABS:ABS_X:200 EV_ABS:ABS_Y:200 EV_SYN:SYN_REPORT:0
EV_KEY:BTN_TOUCH:1 EV_SYN:SYN_REPORT:0 EV_ABS:ABS_PRESSURE:1
EV_SYN:SYN_REPORT:0EV_KEY:BTN_TOUCH:0 EV_SYN:SYN_REPORT:0

event send EV_KEY:BTN_TOUCH:1 EV_SYN:SYN_REPORT:0 EV_REL:REL_X:50
EV_REL:REL_Y:50 EV_SYN:SYN_REPORT:0  EV_ABS:ABS_PRESSURE:1
EV_REL:REL_X:60 EV_REL:REL_Y:60 EV_SYN:SYN_REPORT:0 EV_KEY:BTN_TOUCH:0
EV_SYN:SYN_REPORT:0

event send EV_REL:REL_X:50 EV_REL:REL_Y:50 EV_SYN:SYN_REPORT:0
EV_KEY:BTN_TOUCH:1 EV_SYN:SYN_REPORT:0

event send EV_ABS:ABS_X:50 EV_ABS:ABS_Y:50 EV_SYN:SYN_REPORT:0
EV_KEY:BTN_TOUCH:1 EV_SYN:SYN_REPORT:0

event send EV_ABS:ABS_X:0 EV_ABS:ABS_Y:0 EV_SYN:SYN_REPORT:0
EV_REL:REL_X:200 EV_REL:REL_Y:200 EV_SYN:SYN_REPORT:0 EV_KEY:BTN_TOUCH:
1 EV_SYN:SYN_REPORT:0 EV_REL:REL_X:10 EV_REL:REL_Y:10
EV_SYN:SYN_REPORT:0

event send EV_ABS:ABS_X:100 EV_ABS:ABS_Y:100 EV_SYN:SYN_REPORT:0
EV_KEY:BTN_STYLUS:1 EV_SYN:SYN_REPORT:0 EV_KEY:BTN_STYLUS:0
EV_SYN:SYN_REPORT:0


event send EV_REL:REL_X:100 EV_REL:REL_Y:100 EV_SYN:SYN_REPORT:0
EV_KEY:BTN_TOUCH:1 EV_SYN:SYN_REPORT:0 EV_REL:REL_X:0 EV_REL:REL_Y:0
EV_KEY:BTN_TOUCH:0 EV_SYN:SYN_REPORT:0

event send EV_REL:REL_X:100 EV_REL:REL_Y:100 EV_SYN:SYN_REPORT:0
EV_KEY:BTN_TOUCH:1 EV_SYN:SYN_REPORT:0


event send EV_ABS:ABS_X:60 EV_ABS:ABS_Y:80 EV_SYN:SYN_REPORT:0
EV_ABS:ABS_PRESSURE:1 EV_KEY:BTN_TOUCH:1 EV_SYN:SYN_REPORT:0
EV_ABS:ABS_PRESSURE:0 EV_KEY:BTN_TOUCH:0 EV_SYN:SYN_REPORT:0



On Sep 30, 3:09 pm, Dan <[EMAIL PROTECTED]> wrote:
> I am trying tosenda toucheventinto the emulator using telnet.  I
> have successfully attached to the emulator and tried various
> combinations of commands to try tosenda touchevent.
>
> eventsendEV_KEY:BTN_TOUCH:1 EV_ABS:ABS_X:100 EV_ABS:ABS_Y:200
> EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_RETURN:0
>
> and
>
> eventsendEV_KEY:BTN_TOUCH:1 EV_ABS:ABS_X:100 EV_ABS:ABS_Y:200
> EV_ABS:ABS_PRESSURE:1 EV_KEY:BTN_TOUCH:0 EV_ABS:ABS_X:100 EV_ABS:ABS_Y:
> 200 EV_ABS:ABS_PRESSURE:1 EV_SYN:SYN_RETURN:0
>
> Neither of these caused a toucheventto reach my application.  I have
> found almost no documentation on how tosendthese events into the
> emulator.  Any help is greatly appreciated.
>
> Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Android Internals" group.
To post to this group, send email to android-internals@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/android-internals?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to