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?

  • 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

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!