Sie sind nicht angemeldet.

Birdseye

Schüler

  • »Birdseye« ist der Autor dieses Themas

Beiträge: 125

Wohnort: De Haan

Beruf: Freelance Photographer

  • Nachricht senden

1

Montag, 11. Februar 2013, 06:41

Interrupt gyro with finger touch

Hi,

Some of my pano's are starting with the gyro default on. But is it possible to turn of the gyro as soon as the user touches the device anywhere on the screen ?
I tried it with the on interrupt event, without result.

Tnx for help,
Yvan

Birdseye

Schüler

  • »Birdseye« ist der Autor dieses Themas

Beiträge: 125

Wohnort: De Haan

Beruf: Freelance Photographer

  • Nachricht senden

2

Montag, 11. Februar 2013, 07:54

I already solved it with a large invisible button on startup: http://assets.cityzine.be/vt/292/index.htm

But I hope there's a cleaner solution.

Yvan

3

Mittwoch, 13. Februar 2013, 14:12

Hi,

use the onmousedown event once:
http://krpano.com/docu/xml/#events.onmousedown

e.g.

Quellcode

1
<events name="disablegyro" keep="true" onmousedown="set(plugin[gyro].enabled,false); set(events[disablegyro].name, null);" />


Best regards,
Klaus