stride3d / stride3d/stride

VirtualKeyGroup Support for Modifier Type Keys

Open
#1,438 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.