Feature request - Add filter arguments to the event triggers for gre-keydown, gre.keyup and gre.keyrepeat

In the forum post on Keyboard handling (Keyboard input) there is a feature request proposed.

Requirement

To be able to conditionally filter keyboard input events based on the key and key modifier triggered it. This can be used to setup actions for specific key press combinations in an application.

Proposal

It would be useful to have support in a future Storyboard release to add a couple of filter arguments to the event triggers for gre-keydown, gre.keyup and gre.keyrepeat to filter on the key code and optionally the modifier?

The functionality should be that if these filter variable are specified, only if the key code filters match will that event trigger that associated action.

You can then add multiple triggers and actions for different key combinations such as for numeric menu choices.

1

Comments

0 comments

Please sign in to leave a comment.

Didn't find what you were looking for?

New post