Drive keys (canvas GridKeys): a screen key's "key" in the profile clicks it (F1 F2 F3 / F5 − + 3 F T N; "keypad" K1–K8 / E3 kept for the keypad), the menus' own buttons too (1 2 3 the scopes / presets, H hide all / all off); in an open menu ↑ ↓ move the row (the keypad's encoder will send the same arrows), Enter its first button, Space its eye, + adds it, ⌫ up a folder, Esc closes. The key in each button's corner and the row in purple with ⏎ ␣ +, from the first key pressed on (a touch-only screen stays clean)
CI / check (push) Successful in 23s
CI / deploy (push) Successful in 18s

This commit is contained in:
randy committed 2026-12-03 12:27:45 +01:00
1 parent d39e3b5edd
commit 1ee79fff66
6 files changed
+128 -18

No files matched your search

+29
View File
@@ -4714,3 +4714,32 @@ html.driving .dash-card { display: none; } /* the grid's cells and its Terrain v
.drive-terrain__reset { grid-area: 8 / 4 / 9 / 6; }
.drive-terrain__road { grid-area: 8 / 6 / 9 / 8; }
.drive-panel button.drive-terrain__level--armed { background: var(--inst-caution); color: #000; }
/* Drive keys (canvas GridKeys): the key that does a button in its corner, the
row ↑ ↓ are on in purple with its keys (⏎ the first button, ␣ the eye, + add);
shown from the first key pressed on (html.drive-keys, driving.js) */
html.driving.drive-keys [data-key],
html.driving.drive-keys .drive-focus { position: relative; }
html.driving.drive-keys [data-key]::after,
html.driving.drive-keys .drive-focus--main::after,
html.driving.drive-keys .drive-focus.drive-panel__eye::after,
html.driving.drive-keys .drive-focus.drive-panel__add::after {
content: attr(data-label);
position: absolute;
top: calc(4px * var(--s, 1));
right: calc(5px * var(--s, 1));
padding: 0 calc(4px * var(--s, 1));
border: 1px solid currentColor;
border-radius: 4px;
color: var(--drive-muted);
font-size: calc(11px * var(--s, 1));
font-weight: 700;
line-height: 1.3;
letter-spacing: 0;
text-transform: none;
pointer-events: none;
}
html.driving.drive-keys .drive-focus { outline: 3px solid #b45bd0; outline-offset: -3px; }
html.driving.drive-keys .drive-focus--main::after { content: "⏎"; color: #b45bd0; }
html.driving.drive-keys .drive-focus.drive-panel__eye::after { content: "␣"; color: #b45bd0; }
html.driving.drive-keys .drive-focus.drive-panel__add::after { content: "+"; color: #b45bd0; }