Skip to content

Input key typed example#723

Open
RUNQILIU-123 wants to merge 2 commits intothoth-tech:usage-examplesfrom
RUNQILIU-123:input-key-typed-example
Open

Input key typed example#723
RUNQILIU-123 wants to merge 2 commits intothoth-tech:usage-examplesfrom
RUNQILIU-123:input-key-typed-example

Conversation

@RUNQILIU-123
Copy link
Copy Markdown

Summary

This pull request adds an initial usage example for key_typed in the input category.

Files added

  • key_typed-1-example.cpp
  • key_typed-1-example.py
  • key_typed-1-example-top-level.cs
  • key_typed-1-example-oop.cs
  • key_typed-1-example.txt
  • key_typed-1-example.gif

What the example does

This example opens a window and displays the most recently typed supported key on screen.

Testing

Tested by running:

  • C++ version
  • Python version
  • C# version

Verified that:

  • the window opens correctly
  • supported keys are detected
  • the displayed text updates when a key is typed

Notes

This is an interactive usage example for the key_typed function in the input category.

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 5, 2026

Deploy Preview for splashkit ready!

Name Link
🔨 Latest commit 22ac130
🔍 Latest deploy log https://app.netlify.com/projects/splashkit/deploys/69d22699cf7d6800081b6288
😎 Deploy Preview https://deploy-preview-723--splashkit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown

@ZGT23 ZGT23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — the new key_typed usage example is clear, practical, and renders correctly in the preview. The explanation, code samples, and output image work well together and make the function easy to understand.

Just a small suggestion for future polish: keeping each PR focused on a single example/function where possible would make the review history even cleaner, but there’s nothing blocking here from my side.

Approved from my side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants