mirror of
https://github.com/AkiChase/scrcpy-mask
synced 2024-11-14 22:01:55 +08:00
fix(KeyBoard): new SteeringWheel without offset
This commit is contained in:
parent
1385477bfe
commit
df72745864
@ -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") {
|
||||||
|
Loading…
Reference in New Issue
Block a user