You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, November 3rd 2018, 6:28pm

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

Monday, November 5th 2018, 12:42pm

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