Skip to content

Conversation

@aziddy
Copy link

@aziddy aziddy commented Jun 23, 2025

The un-hovered boxes showing nothing bothers me alot. This method isn't ideal either, but it shows that something is atleast populated on the key

  1. Still Checks for label from hid_usage prop and renders the same as before this PR
  2. If no label exists (either HID Code not in hid-usage-name-overrides.json or just not a HID Code) it will start using the behavior name provided by the added behavior_name prop to generate a short label
  3. First use "_" & "-" as delimiters between sections, grabs first letter between sections upto 3
  4. If "_" & "-" are not present, uses first 3 letters of behavior name instead

Works with custom behaviors too (pictured)

Layer 2 - Shift It BLU BLU

…e set as first Param

The un-hovered boxes showing nothing bothers me alot. This method isn't ideal either, but it shows that something is atleast populated on the key
@netlify
Copy link

netlify bot commented Jun 23, 2025

Deploy Preview for zmk-studio ready!

Name Link
🔨 Latest commit bfb0248
🔍 Latest deploy log https://app.netlify.com/projects/zmk-studio/deploys/685980c67f47dd00085cab73
😎 Deploy Preview https://deploy-preview-143.preview.zmk.studio
📱 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.

@atever
Copy link

atever commented Oct 20, 2025

Thanks a lot, this is exactly what I need! Maybe we could display a blank for the following two cases:

  1. When the content is _Trans (shows as T, same as the letter T);
  2. When the content is unknown (shows as UNK).
image

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