Disable Keyboard in Firefox

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
Tony
Posts: 889
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Wed Dec 18, 2019 3:22 am

Hi,

In response to a post on the Facebook User Group re the issue of a conflict when mapping keyboard keys to actions in the skin editor I've created this sample file.

The issue occurs when someone has activated the Firefox preference 'Search for text when you start typing'. This preference allows you to open a browser window and start typing to find relevant words in the document. However it also makes the mapping not perform properly or not at all. The fix uses some Javascript in a hidden textfield that disables the keyboard but still allows you to use mapped keys.

https://p2vr.s3-ap-southeast-2.amazonaw ... index.html

Note I've only tested on Mac OS Mojave and Firefox 71.0 with 'search for text when you start typing' active.

I've attached a .ggsk file with the skin elements.

cheers,

Tony
Attachments
keys.ggsk
(9.03 KiB) Downloaded 22 times
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: http://tonyredhead.com - http://redsquare.com | roundme: http://round.me/@tonyredhead | instagram: https://www.instagram.com/tonyredhead/
Post Reply