You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I discovered something. Removing the type="module" from the import line <script type="module" src="./src/index.js"><script/>
Keys now work but I'm unable to import modules from other javascript files.
The only workaround that I found is importing scripts from html and then using them in the html script section
<script src="myscript.js"></script>
<script>// I can use myscript.js here</script>
Oh, so much time since I did that tutorial, but what simply means is that in the script tag you have to delete the type='module' option but you can't use other scripts, I recommend using a framework because they use webpack and you don't have problems with importing modules, other option is copy-pasting all the code on index.js but I don't recommend it
Doing this project manually I found that softkeys and D-Pad doesn't respond to the actions on a physical device.
The text was updated successfully, but these errors were encountered: