aboutsummaryrefslogtreecommitdiff
path: root/archsetup.conf.example
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-16 15:56:54 -0500
committerCraig Jennings <c@cjennings.net>2026-07-16 15:56:54 -0500
commit722e9f9da69f00b87d99eda0183b0ef333c8744d (patch)
tree8d874ee5552101e13e50ec7551528b31396aec94 /archsetup.conf.example
parent5fee1efd003f04e50bd560c1239458ff113d42f6 (diff)
downloadarchsetup-722e9f9da69f00b87d99eda0183b0ef333c8744d.tar.gz
archsetup-722e9f9da69f00b87d99eda0183b0ef333c8744d.zip
feat(gallery): give the ABC keypad a keyboard and screen families
Twenty clicks for a passphrase was always the wrong answer. The plate takes focus on click and reads the keyboard now: lowercase normalises, Space maps to SPC and shows as ␣, Backspace to DEL, Enter to ENT. Every key routes through the same press() a click does, so the two paths can't drift. press() is where the filter belongs, not the keydown handler. I had it in the handler first, which guards the web and leaves the Emacs port wide open, since that port installs KEYS into a keymap and calls press directly with no handler in the stack. It gates on ACTIONS rather than KEYS because they're different sets: CLR is a real key on the plate that no keystroke reaches. The focus ring uses :focus, not :focus-visible. Chrome won't match :focus-visible on a mouse-driven focus of a non-text element, and clicking the plate is how it takes focus, so the ring would have shown only when tabbed to. On a 110-card page that means typing into a card with no sign it was listening. The window is a screen like the scope's or the marquee's, so it takes the screen families through the --scr-* vars with the shipped colours as fallbacks: nothing moves until a chip is clicked. Glass and ink both recolour, because a screen that changes its text and keeps its backlight isn't a screen. It offers all six families where its siblings carry five, since a passphrase window has no reason to prefer one phosphor.
Diffstat (limited to 'archsetup.conf.example')
0 files changed, 0 insertions, 0 deletions