Skip to content

textedit: Add nk_console_textedit_set_keyboard_layout() for custom key layouts#204

Merged
RobLoach merged 3 commits into
masterfrom
fix/textedit-keyboard-layout-192
May 24, 2026
Merged

textedit: Add nk_console_textedit_set_keyboard_layout() for custom key layouts#204
RobLoach merged 3 commits into
masterfrom
fix/textedit-keyboard-layout-192

Conversation

@RobLoach
Copy link
Copy Markdown
Owner

Replaces the hardcoded ASCII keyboard with a nk_console_textedit_key layout table. Ships nk_console_textedit_layout_ascii as the default and exposes nk_console_textedit_set_keyboard_layout() so callers can supply non-ASCII rows (accented characters, CJK, etc.) without touching the widget internals. Shift-toggle now uses the layout table for label lookup instead of a hardcoded switch, so multi-byte glyphs shift correctly. Fixes #192

@RobLoach RobLoach self-assigned this May 24, 2026
@RobLoach RobLoach merged commit 5059896 into master May 24, 2026
1 check passed
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.

textedit: Add non-ASCII on-screen keyboard layout support

1 participant