stride icon indicating copy to clipboard operation
stride copied to clipboard

VirtualKeyGroup Support for Modifier Type Keys

Open taikodragon opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. I would like to support creating key combinations using VirtualKeyGroup that involve modifier keys.

Describe the solution you'd like The ability to check that "Shift+Q" IsPressed without having to press Shift and Q on the same frame. Normally the modifier key is pressed first and then the desired non-modifier key.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context I've created a branch to implement this here: https://github.com/JoltCrewStudios/stride/tree/modifier-virtualkey-group

Here are some questions that can aid in the description of the feature request:

  • What are the usecases?
  • What kind of options/settings are expected/wanted?
  • What would the (pseudo) code look like?
  • Is the feature affecting behaviour in the editor?
    • if so: how should this look in the editor?
  • Is there a component or datastructure?
  • what kind of documentation is needed or needs to be updated?
  • Should there be an example project?

taikodragon avatar Jun 10 '22 05:06 taikodragon