Actions
Bug #711
closedThe Gamepad Threshold instruction was working, but now fails.
Start date:
04/02/2021
Due date:
% Done:
0%
Estimated time:
1:00 h
Affected version:
Description
This causes the Joystick tester program to fail as well.
Example:
Gamepad Threshold 0.4
Console errors:
Serving "/Users/brian/Documents/My AOZ Applications/Threshold Test/html" at http://127.0.0.1:8080
application.js:51 Uncaught SyntaxError: Unexpected token %
index.html?forced=1617373451547:377 Uncaught ReferenceError: Application is not defined
at index.html?forced=1617373451547:377
(anonymous) @ index.html?forced=1617373451547:377
load (async)
(anonymous) @ index.html?forced=1617373451547:375
/Users/brian/AOZ_Studio/aoz/IDE/.atom/packages/aoz-studio/node_modules/live-server/index.js:380
The line in question has been encoded wrong:
// Gamepad Threshold 0.4
aoz.sourcePos="0:5:0";
aoz.gamepad_Threshold = %t; // This line is the culprit.
return{type:0}
Actions