Sie sind nicht angemeldet.

1

Samstag, 3. November 2018, 18:28

Arrows buttons on touchpad

I'm using the krpano viewer on a kiosk based system with a touchpad as input device similar to that on a laptop.

I notice that the pano responds readily on touching the pad for the thumbs and hotspots, etc..
However for the left/right/up/down arrow buttons, the response is different; either I must hover the cursor for a few seconds over the arrows and touch once, or I need to double tap on the arrows for the panorama to respond.

Is there a way to have the directional arrows to respond on a single tap/touch on such a system? I am guessing the clue to be found in the vtourskin.xml but not sure what code exactly?

2

Montag, 5. November 2018, 12:42

Hi,

the arrow buttons in the vtourskin.xml are mapped to the keyboard control.

You can control their behavior using the 'keyb*' control settings:
https://krpano.com/docu/xml/#control

Or use custom code for the button events where you modify the view in a way you like more (e.g. directly adding a fixed value to the hlookat/vlookat values for a stepwise looking).

Best regards,
Klaus