Skip to content

Disabling Specific Hotkeys #2395

Answered by gwaldron
mrsmiles asked this question in Support Q&A
Dec 6, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I am not aware of a compile-time flag to disable it.
This functionality comes from OpenSceneGraph (not osgEarth); I believe you can call osg::Viewer::setKeyEventSetsDone(0); to disable close-on-ESC.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mrsmiles
Comment options

Answer selected by mrsmiles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants