I am conducting an online experiment where participants choose between left and right based on the stimuli presented on the screen. If the stimulus on the screen indicates that the left is correct, participants are supposed to press the ‘z’ key, and if the right is correct, they should press the ‘/’ key. While everything works fine in the offline experiment, the ‘/’ key does not register any response in the online experiment. Even after uploading a new folder to Pavlovia, the same issue persists. Is there a solution to this problem?
Hi,
Unfortunately this hasn’t yet been fixed. I would recommend switching to z and . (period)
Have a look at key-check [PsychoPy] to see which keys work
I have an experiment where I have people type their name. I want then to be able to delete letters (in case they typed it wrong). Locally, on PsychoPy, my code works. When I try to run it on Pavlovia, it longer does. When I look at the datafile, even though, I pressed ‘backspace’, the key is not in the datafile, which is why I think Pavlovia is not recognizing it.
Here is the javascript code I am using.
if(keyResp.keys != undefined && keyResp.keys.length > last_len) {
last_len = keyResp.ke…
URL of experiment: https://run.pavlovia.org/Wake/dictation/
I am using
keys = event.getKeys()
if len(keys):
with the appropriate event=psychoJS.eventManager; in code_JS
Offline backslash is registered. Online, however, it seems that it fails at the len(keys) check.
I’m trying to map a Hungarian keyboard (press the y key to advance past the instructions in the demo) and it seems that one key isn’t being presented. The student says it’s í but I can get that by pressing `. I can’t, however, ge…
URL of experiment: PAS_24B_Prolific [PsychoPy]
Description of the problem:
Hi everyone, I’ve read the previous posts about the backspace key not working when the experiment is running online and still have not been able to solve my problem. I am running Psychopy v 2024.1.4. my experiment (code below) needs to collect typed keystrokes and their times. When running the experiment locally, all keys (including shift, spacebar… are recorded and show up on the screen). When running online, the only …
I’m collecting timed typed responses for an online experiment using the following code, which IIRC I adapted from one of Wakefield Morys-Carter’s demos. It is intended to get keys from keyboard presses, save RTs for each keystroke, and display the resulting string on the screen. So if someone presses ‘c’ ‘o’ ‘t’, they’d see ‘cot’, but if they pressed ‘c’ ‘o’ ‘a’ ‘t’, they’d see ‘cat’ instead. The code has run well for three years previously, but since updating PsychoPy I’ve noticed that the bac…
1 Like