velxio/frontend/src/i18n
David Montero 5218f7314b feat(simulator): map pushbuttons to keyboard keys
Any pushbutton (pushbutton / pushbutton-6mm) can now be driven from the
keyboard. Assign a key from the component property dialog — a keycap
control captures the next keypress (Escape cancels, modifiers alone are
rejected) — and a keycap badge next to the component label shows the
mapping on the canvas. Several buttons may share one key on purpose;
the dialog shows a hint when that happens.

At runtime a global bridge translates keydown/keyup into the same
button-press / button-release DOM events the mouse fires on the wokwi
element, so every simulation path (avr8js pin logic, SPICE-driven
inputs, the QEMU GPIO bridge, the pressed visual) behaves identically
to a mouse click. Guards: ignored while typing in inputs or the code
editor, ignored with Ctrl/Alt/Meta held, auto-repeat collapses into one
long press, and window blur releases everything so no button sticks
after Alt-Tab.

The binding is stored as the component's 'key' property, so it
round-trips through project saves and .vlx exports and is undoable like
any other property edit. Strings added to all 9 locales.
2026-07-18 04:02:01 +02:00
..
locales feat(simulator): map pushbuttons to keyboard keys 2026-07-18 04:02:01 +02:00
LocaleSync.tsx feat(i18n): react-i18next foundation + 9-locale support for header / footer 2026-05-09 00:40:37 -03:00
config.ts feat(i18n): react-i18next foundation + 9-locale support for header / footer 2026-05-09 00:40:37 -03:00
cookie.ts feat(i18n): react-i18next foundation + 9-locale support for header / footer 2026-05-09 00:40:37 -03:00
index.ts fix(i18n): load + resolve non-English locales on direct navigation 2026-06-14 08:17:05 +02:00
path.ts feat(i18n): react-i18next foundation + 9-locale support for header / footer 2026-05-09 00:40:37 -03:00
useLocalizedNavigate.ts feat(i18n): react-i18next foundation + 9-locale support for header / footer 2026-05-09 00:40:37 -03:00