VirtualKeyGroup Support for Modifier Type Keys
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the modifier-virtualkey-group branch linked in the issue and trace the existing VirtualKeyGroup handling in Stride. Verify that a combination such as Shift+Q reports IsPressed when Shift and Q are pressed on different frames, and confirm the behavior is covered by the relevant input tests or a reproducible example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100