chore: remove unused steering docs and update point settings model

This commit is contained in:
2025-10-16 00:52:05 +08:00
parent 26273a4afc
commit 55d3b31146
58 changed files with 2491 additions and 3480 deletions

View File

@@ -119,7 +119,7 @@ export const useGamepadStore = defineStore('gamepad', () => {
if (connectedGamepadInfo.value) {
connectedHandlers.forEach((handler) => {
try {
handler(connectedGamepadInfo.value!, index)
handler(connectedGamepadInfo.value, index)
} catch (err) {
console.error('手柄连接事件处理器执行错误:', err)
}
@@ -169,7 +169,7 @@ export const useGamepadStore = defineStore('gamepad', () => {
// 如果自动切换到其他手柄,也触发连接事件
connectedHandlers.forEach((handler) => {
try {
handler(connectedGamepadInfo.value!, nextGamepad.index)
handler(connectedGamepadInfo.value, nextGamepad.index)
} catch (err) {
console.error('手柄连接事件处理器执行错误:', err)
}