Skip to content

Commit ff5eafd

Browse files
authored
[Gamepad tester] Fix stick direction logs (#843)
- Don't show in changelog
1 parent 2612279 commit ff5eafd

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

examples/gamepad-tester/gamepad-tester.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -719,6 +719,16 @@
719719
"+",
720720
"\"Gamepad count \" + ToString(Gamepads::GamepadCount()) + NewLine()"
721721
]
722+
},
723+
{
724+
"type": {
725+
"value": "SetStringVariable"
726+
},
727+
"parameters": [
728+
"Log",
729+
"+",
730+
"\"Connected count \" + ToString(Gamepads::ConnectedGamepadsCount()) + NewLine()"
731+
]
722732
}
723733
],
724734
"events": [
@@ -975,15 +985,15 @@
975985
"parameters": [
976986
"Log",
977987
"+",
978-
"StickName + \" stick is pushed \" + ToString(Gamepads::StickForceX(PlayerId, StickName)) + \" ; \" + ToString(Gamepads::StickForceY(PlayerId, StickName)) + \"°\" + NewLine()"
988+
"StickName + \" stick is pushed \" + ToString(Gamepads::StickForceX(PlayerId, StickName)) + \" ; \" + ToString(Gamepads::StickForceY(PlayerId, StickName)) + NewLine()"
979989
]
980990
}
981991
]
982992
},
983993
{
984994
"type": "BuiltinCommonInstructions::ForEachChildVariable",
985995
"iterableVariableName": "Directions",
986-
"valueIteratorVariableName": "Directions",
996+
"valueIteratorVariableName": "Direction",
987997
"keyIteratorVariableName": "",
988998
"conditions": [],
989999
"actions": [],

0 commit comments

Comments
 (0)