Skip to content

Improve scancode selector with tiled category layout - #3048

Merged
mondalaci merged 2 commits into
masterfrom
feature/multi-column-scancode-select
Aug 8, 2026
Merged

Improve scancode selector with tiled category layout#3048
mondalaci merged 2 commits into
masterfrom
feature/multi-column-scancode-select

Conversation

@mondalaci

Copy link
Copy Markdown
Member

Summary

  • Replace the keypress-tab ng-select scancode dropdown with a dedicated scancode-select panel that lists categories vertically in a narrow, viewport-tall overlay.
  • Tile short-label categories (Letter, Number, Punctuation, Whitespace, Function, Numpad) to cut scrolling; Numpad uses fixed rows (0–4, 5–9, operators, Enter/NumLock).
  • Keep incremental filtering and custom M/B/S scancode tags; raise overlay z-index so the panel appears above the key-action popover.

Closes #2288

Test plan

  • Open a key action popover on a keymap layer → Scancode dropdown opens above the popover (not behind it)
  • Open a macro key action → panel does not cover the trigger; search field is usable at the top of the panel
  • Confirm tiled categories: Letter, Number, Punctuation, Whitespace, Function, Numpad
  • Confirm Numpad row order: 0–4, 5–9, / * - + ., Enter NumLock
  • Type to filter (e.g. media, esc) and confirm empty categories disappear
  • Add a custom scancode via M123 / B45 / S12
  • Capture keystroke still updates the selected scancode
  • Check light and dark themes for hover/selected tile styles

Made with Cursor

mondalaci and others added 2 commits August 8, 2026 23:08
Replace the scrolling ng-select scancode dropdown with a compact
category panel that tiles short labels and keeps incremental search,
addressing #2288.

Co-authored-by: Cursor <cursoragent@cursor.com>
…hat code

Custom entries like B5 were hidden because letter B already maps to basic
scancode 5. Offer the tag whenever that exact id is new, and prefer it on Enter.

Co-authored-by: Cursor <cursoragent@cursor.com>
@mondalaci
mondalaci merged commit 415b2ef into master Aug 8, 2026
6 checks passed
@mondalaci
mondalaci deleted the feature/multi-column-scancode-select branch August 8, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multi-column scancode select

1 participant