fix(KeyBoard): new SteeringWheel without offset

This commit is contained in:
AkiChase 2024-05-05 19:28:00 +08:00
parent 1385477bfe
commit df72745864

View File

@ -78,6 +78,7 @@ function onAddButtonSelect(
up: "NONE", up: "NONE",
down: "NONE", down: "NONE",
}; };
(keyMapping as unknown as KeyMappingSteeringWheel).offset = 100;
} else if (type === "DirectionalSkill") { } else if (type === "DirectionalSkill") {
(keyMapping as unknown as KeyDirectionalSkill).range = 30; (keyMapping as unknown as KeyDirectionalSkill).range = 30;
} else if (type === "CancelSkill") { } else if (type === "CancelSkill") {