Skip to content

Fix Type-Free Mode keyboard handling to use key IDs#2

Merged
eccentriccoder01 merged 1 commit intoeccentriccoder01:mainfrom
Ravindra-jingar:fix-typefree-keyboard
Oct 3, 2025
Merged

Fix Type-Free Mode keyboard handling to use key IDs#2
eccentriccoder01 merged 1 commit intoeccentriccoder01:mainfrom
Ravindra-jingar:fix-typefree-keyboard

Conversation

@Ravindra-jingar
Copy link
Contributor

Summary

This PR fixes the handling of the virtual keyboard in Type-Free Mode.

Changes

  • Updated the virtual keyboard logic to use key IDs (key-ENTER, key-BACK) instead of Unicode symbols (↩️, ←).
  • Ensures more reliable input handling across different browsers and systems.

Why

Previously, the game relied on special symbols for Enter and Backspace, which could cause issues with consistency. Using IDs makes the logic cleaner and more stable.

Testing

  • Verified that Type-Free Mode works correctly with Enter and Back keys.
  • Normal input mode remains unaffected.

@eccentriccoder01
Copy link
Owner

Great work @Ravindra-jingar!

@eccentriccoder01 eccentriccoder01 merged commit 23e9fa5 into eccentriccoder01:main Oct 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request good first issue Good for newcomers hacktoberfest-accepted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants