Skip to content

Use unicode to make better, shorter, more readable key labels in qmk info output.#25972

Open
spidey3 wants to merge 5 commits intoqmk:developfrom
spidey3:short_key_labels
Open

Use unicode to make better, shorter, more readable key labels in qmk info output.#25972
spidey3 wants to merge 5 commits intoqmk:developfrom
spidey3:short_key_labels

Conversation

@spidey3
Copy link
Contributor

@spidey3 spidey3 commented Jan 25, 2026

Description

qmk info has the ability to output human-readable keyboard layouts, but for many keys the output is truncated, making it hard to read and understand. To resolve that...

  • qmk info now uses the QMK keycode database (.../data/constants/keycodes) to source human readable key names.
  • Commonly used keys have been updated with Unicode labels, that are more likely to fit into the rendered key.
  • Some simple heuristics have been added to shorten labels for some commonly used key bindings, making them fit better.
  • The width of rendered keys has been increased to allow more room.

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout (addition or update)
  • Documentation

Checklist

  • My code follows the code style of this project: C, Python
  • I have read the PR Checklist document and have made the appropriate changes.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@github-actions github-actions bot added python cli qmk cli command dd Data Driven Changes labels Jan 25, 2026
@spidey3 spidey3 requested a review from tzarc January 25, 2026 23:29
@spidey3 spidey3 marked this pull request as ready for review January 25, 2026 23:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli qmk cli command dd Data Driven Changes python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant