Just developed an experiment in Pilot mode. It uses a Code component that includes
my_keyboard = keyboard.Keyboard()
The experiment runs nicely in Builder, but when uploaded to Pavlovia, it throws the following error:
ReferenceError: keyboard is not defined
I assume there is something wrong in the automatic translation from Python to JS that prevents me from using keyboard function, but cannot figure it out…
Any help will be much appreciated.