Skip to content

recording: add the [Del] keycap HUD to the delete_and_select tutorial#30

Merged
borisbat merged 1 commit into
masterfrom
bbatkin/node-editor-delete-keycap-hud
Jun 4, 2026
Merged

recording: add the [Del] keycap HUD to the delete_and_select tutorial#30
borisbat merged 1 commit into
masterfrom
bbatkin/node-editor-delete-keycap-hud

Conversation

@borisbat

@borisbat borisbat commented Jun 4, 2026

Copy link
Copy Markdown
Owner

Extends the keyboard-helper-on-every-keyed-gesture treatment (started with the clipboard tutorial's Ctrl+D/C/V chords in #27) to the one merged tutorial that presses a key: delete_and_select (the Delete key).

  • Enables imgui_key_hud with show_modifiers=false (Delete is a plain key, not a chord) and keycap_fade_s=2.5 so the [Del] keycap lingers through the voice line.
  • Fires Delete partway into its voice line (say_begin + lead), so the keycap pops as the line names it — same timing as clipboard's chords.
  • The click→select→pulse→Delete self-verification (record_check_value + record_check_rendered on the node and both links) is unchanged and still passes (ok=true, dropped=0).

Dependency

The [Del] glyph rides borisbat/dasImgui#162 — the HUD glyph table mapped letters/modifiers/arrows but not the editing-key cluster, so Delete fired no keycap. The committed .mp4 is baked with that fix (recorded locally), and the driver compiles against dasImgui master regardless (keycap_fade_s is already in the merged #161; an unmapped glyph just means no keycap, not a compile error). So this is mergeable independently — a future re-record needs #162 in for the keycap to reappear.

🤖 Generated with Claude Code

Per the keyboard-helper-on-every-keyed-gesture intent, delete_and_select now
enables imgui_key_hud (show_modifiers=false - Delete is a plain key, not a chord;
keycap_fade_s=2.5 so [Del] lingers through the voice). Delete now fires partway
into its voice line (say_begin + lead) so the keycap pops as the line names it,
matching the clipboard tutorial's chord timing. The click+Delete self-verification
(record_check_value + record_check_rendered) is unchanged and still passes.

The [Del] glyph rides borisbat/dasImgui#162 (the HUD glyph table didn't map the
editing-key cluster); the committed .mp4 is baked with that fix, and the driver
compiles against dasImgui master regardless (keycap_fade_s is already in #161).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the delete_and_select integration recording driver to display an on-screen [Del] keycap (via imgui_key_hud) when the Delete key is fired, and aligns the keypress timing so the HUD appears while the voice line references the action—matching the existing treatment used in the clipboard tutorial.

Changes:

  • Enable imgui_key_hud for the recording with show_modifiers=false and a longer keycap_fade_s linger.
  • Change the Delete “beat” to start the voice line with say_begin, fire Delete partway into the dwell, then sleep the remainder.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@borisbat borisbat merged commit 7769d11 into master Jun 4, 2026
6 checks 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.

2 participants