Pass raw keyboard information in KeyEvents
Nobody has claimed this yet.
- 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
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
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