From 36bbef1ca6444517e69a71352f6c01168d102acb Mon Sep 17 00:00:00 2001
From: xuhongjie <1943105267@qq.com>
Date: Mon, 7 Apr 2025 17:31:27 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E5=9B=BA=E5=AE=9A=E8=88=AA?=
=?UTF-8?q?=E7=BA=BF=E5=88=87=E6=8D=A2=E8=87=B3=E6=89=8B=E6=9F=84=E6=8E=A7?=
=?UTF-8?q?=E5=88=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/components/map/marsMap.vue | 199 +++++++++++---------
src/views/components/map/panelLeft copy.vue | 94 ---------
src/views/components/map/panelLeft.vue | 4 +-
src/views/map-v1.vue | 2 +-
src/views/map.vue | 2 +-
5 files changed, 114 insertions(+), 187 deletions(-)
delete mode 100644 src/views/components/map/panelLeft copy.vue
diff --git a/src/views/components/map/marsMap.vue b/src/views/components/map/marsMap.vue
index f914424..deffc0a 100644
--- a/src/views/components/map/marsMap.vue
+++ b/src/views/components/map/marsMap.vue
@@ -5,7 +5,8 @@
-
-
\ No newline at end of file
diff --git a/src/views/components/map/panelLeft.vue b/src/views/components/map/panelLeft.vue
index 74603f6..6618989 100644
--- a/src/views/components/map/panelLeft.vue
+++ b/src/views/components/map/panelLeft.vue
@@ -1,7 +1,7 @@
-
+ /> -->
diff --git a/src/views/map-v1.vue b/src/views/map-v1.vue
index 6c21829..2188d6c 100644
--- a/src/views/map-v1.vue
+++ b/src/views/map-v1.vue
@@ -151,7 +151,7 @@ const startgamepad = () => {
var gamepad = navigator.getGamepads()[0]
if (gamepad) {
//手柄方向按键
- // pressKey(gamepad!.buttons)
+ pressKey(gamepad.buttons)
// 手柄方向遥感
rocker(gamepad.axes)
}
diff --git a/src/views/map.vue b/src/views/map.vue
index dac206d..aac066d 100644
--- a/src/views/map.vue
+++ b/src/views/map.vue
@@ -2,7 +2,7 @@