Skip to content

Customizing Shortcuts Definition #63

Closed Answered by ehopperdietzel
milisarge asked this question in Support
Discussion options

You must be logged in to vote

There are custom flags you can pass to LScene event handlers. Check LScene::handleKeyboardKeyEvent(), so you don't have to write it yourself.

By default, all are set. In this case, you should remove the AuxFunc flag.

scene.handleKeyboardKeyEvent(event, LScene::WaylandEvents);

Keep in mind that other shortcuts, such as exiting the compositor with Ctrl + Shift + Esc, will also be disabled.

Here is the default implementation: LKeyboard::keyEvent()

Replies: 7 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ehopperdietzel
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #59 on June 13, 2024 13:46.