stride3d / stride3d/stride

Pass raw keyboard information in KeyEvents

Open
#454 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area-Input enhancement
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

In integrating the Ultralight GUI framework, there is a need to pass the raw keyboard event data, such as (in windows) WindowsMessage, lParam, wParam. For other platforms, will need virtual key code, scan code, and similar MessageType.

Describe the solution you'd like
Expose these properties in the KeyEvent class.

Describe alternatives you've considered
In my current windows-only game, i'm hooking into the WndProc function to get them manually.

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

Start by locating the KeyEvent class and reading how keyboard events are currently represented and propagated. Compare the available raw keyboard data across Windows and other supported platforms; the work is done when the requested platform-specific information is exposed through KeyEvent without requiring a separate WndProc hook.

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.