mirror of
https://github.com/AkiChase/scrcpy-mask
synced 2024-11-14 05:21:42 +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",
|
||||
down: "NONE",
|
||||
};
|
||||
(keyMapping as unknown as KeyMappingSteeringWheel).offset = 100;
|
||||
} else if (type === "DirectionalSkill") {
|
||||
(keyMapping as unknown as KeyDirectionalSkill).range = 30;
|
||||
} else if (type === "CancelSkill") {
|
||||
|
Loading…
Reference in New Issue
Block a user