If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): Mac PsychoPy version (e.g. 1.84.x): 2022.2.2 What are you trying to achieve?: My experiment uses button presses (1 and 0) to move the slider left and right. However when the keys are used to move the slider instead of the mouse, the slider.response, slider.rt and slider.history columns report None, None and . Is there a way to collect these variables for the slider when keypresses are used?
I am noticing that if i use the mouse to move the slider, it will print values in the slider.response, slider.rt and slider.history columns but still nothing when I use the keyboard press (even when the keyboard component is defined as an allowable key to move the slider)
If your routine ends when the selection is made, in a code component start a timer on “begin routine” and end it on “end routine” where you simply log the value of the timer in a variable of your choice.
Unfortunately the routine is a predetermined length (6 seconds). Although this would be helpful for getting the time, it still wouldn’t give me the slider.history or slider.response (only seems to works when using the mouse)