MyWhoosh: updated default keymap to use steering instead of navigating

This commit is contained in:
Jonas Bark
2025-12-10 19:14:13 +01:00
parent c9b068e1b3
commit 6492afc46f
5 changed files with 63 additions and 69 deletions

View File

@@ -40,7 +40,7 @@ class MyWhoosh extends SupportedApp {
),
),
...ControllerButton.values
.filter((e) => e.action == InGameAction.navigateRight)
.filter((e) => e.action == InGameAction.steerRight)
.map(
(b) => KeyPair(
buttons: [b],
@@ -48,11 +48,11 @@ class MyWhoosh extends SupportedApp {
logicalKey: LogicalKeyboardKey.arrowRight,
touchPosition: Offset(60, 80),
isLongPress: true,
inGameAction: InGameAction.navigateRight,
inGameAction: InGameAction.steerRight,
),
),
...ControllerButton.values
.filter((e) => e.action == InGameAction.navigateLeft)
.filter((e) => e.action == InGameAction.steerLeft)
.map(
(b) => KeyPair(
buttons: [b],
@@ -60,7 +60,7 @@ class MyWhoosh extends SupportedApp {
logicalKey: LogicalKeyboardKey.arrowLeft,
touchPosition: Offset(32, 80),
isLongPress: true,
inGameAction: InGameAction.navigateLeft,
inGameAction: InGameAction.steerLeft,
),
),
...ControllerButton.values