← Back to team overview

autopilot-users team mailing list archive

Need advice for using multitouch gesture on pc

 

Hello,

I have trouble using autopilot.gestures.pinch method (for zooming image
test). When I tried use it error occurs about method 'moved is not
defined:

  File "/usr/lib/python2.7/dist-packages/autopilot/gestures.py", line
  64, in pinch
    finger_1.move(*finger_1_cur)
AttributeError: 'Touch' object has no attribute 'move'

I'm tried to copy pinch method and change finger_1, finger_2 object to
Pointer (which points to Touch). No error occurred that time, but no
result either. I did temporal branch for showing my trying:

http://bazaar.launchpad.net/~xeranas/ubuntu-docviewer-app/FAIL_TO_ZOOM/revision/14
(sorry due commented other tests it hard to read..)

I have no touch hardware, writing & running test on regular pc. 

I would be grateful for any advice 

-- 
  Arturas Norkus
  anorkus@xxxxxxxxxxx


Follow ups