@@ -190,27 +7,20 @@ onUnmounted(() => {
Control
-
Web Control
+
Control Feedback
-
{{ socketLabel }}
-
-
- Pressed
- {{ pressedKeyLabel }}
-
-
- Command
- {{ commandLabel }}
-
-
+
- Keyboard mapping: W/S forward-back, A/D lateral, Q/E turn,
+ Keyboard mapping: W/S forward-back, A/D strafe, Q/E turn,
Shift turbo, Space stop.
- Server: {{ lastServerMessage }}
+
+ Browser gamepad support is live here too: left stick drives, right stick turns,
+ RB boosts, A sends stop.
+
@@ -241,45 +51,6 @@ h2 {
font-size: 24px;
}
-.badge {
- padding: 8px 12px;
- border-radius: 999px;
- background: rgba(40, 199, 111, 0.16);
- color: #63e6a9;
- font-size: 12px;
- font-weight: 700;
-}
-
-.badge.warm {
- background: rgba(255, 176, 87, 0.16);
- color: #ffcf97;
-}
-
-.grid {
- display: grid;
- grid-template-columns: repeat(2, minmax(0, 1fr));
- gap: 12px;
-}
-
-.stat-card {
- padding: 14px;
- border-radius: 16px;
- background: rgba(7, 14, 26, 0.78);
- border: 1px solid rgba(133, 147, 169, 0.2);
-}
-
-.stat-card span {
- display: block;
- margin-bottom: 8px;
- color: #8d99b3;
- font-size: 12px;
-}
-
-.stat-card strong {
- font-size: 18px;
- word-break: break-word;
-}
-
.hint {
margin: 0;
color: #d5dbee;
@@ -289,10 +60,4 @@ h2 {
.hint.subtle {
color: #96a5c3;
}
-
-@media (max-width: 640px) {
- .grid {
- grid-template-columns: 1fr;
- }
-}
diff --git a/frontend/src/components/VideoPanel.vue b/frontend/src/components/VideoPanel.vue
index 6a701aa..3113805 100644
--- a/frontend/src/components/VideoPanel.vue
+++ b/frontend/src/components/VideoPanel.vue
@@ -1,6 +1,7 @@