Keyboard shortcuts for built tour  

Share your tips and tricks here or get help with any Panotour 2.0+ problem!
No bug reports (of any kind) in this forum!
no avatar
property3d
Member
 
Topic author
Posts: 23
Likes: 6 posts
Liked in: 1 post
Joined: Wed Sep 09, 2015 10:03 pm
Info

Keyboard shortcuts for built tour

by property3d » Mon Jan 15, 2018 1:39 am

Hi Kolor team,

I am currently working on building accessibility tours for disabled people.

For blind audience, I wish I could assign keyboard shortcuts such as go forward, mute sounds and etc.

Would there be any way we can make these happen?

Thanks in advance for your answer!

Kind Regards
Alex Kim

User avatar
360-compunics-com-ni
Member
 
Posts: 341
Likes: 14 posts
Liked in: 147 posts
Joined: Wed Dec 17, 2014 12:37 am
Location: León, Nicaragua
Info

Re: Keyboard shortcuts for built tour

by 360-compunics-com-ni » Tue Jan 16, 2018 9:29 pm

Hello,

you can use the KRPano "keycode" function to implement this, see the documentation at: https://krpano.com/docu/actions/#keycode
There is an explanation, and at the bottom of the page a link to a nice usage example: https://www.krpano.com/forum/wbb/index.php?page=Thread&threadID=7883&s=5486d1e061b7fbf802efe1e0f71b2126c616aed2

A working "example" is also contained in your existing PTP tours, you can use the keyboard +/- keys to zoom in/out.
Have a look at the "Keyboard management" section of the "<your-project-name>_core.xml" file.

Hope that helps,
Michael
Out now: DeviceCheck for PTP plugins! https://www.kolor.com/forum/viewtopic.php?f=40&t=37446

Want to know how clients use your tours? Google Analytics Track Events plugin: http://www.kolor.com/forum/viewtopic.php?f=40&t=34442

Add actions to your hotspots: Hotspot Actionlist plugin: http://www.kolor.com/forum/viewtopic.php?f=40&t=35829

Annis likes this post.


Who is online

Users browsing this forum: No registered users and 4 guests