Max Lovell
Max Lovell
thanks @jodeleeuw, implementation that can sit anywhere in the main body of the html-slider-response plugin is below, with enter key triggering submit too: ``` document.addEventListener('keydown', key_listener) function key_listener(e){ if(["1","2","3","4","5","6"].includes(e.key)){ display_element.querySelector('#jspsych-html-slider-response-response').value...
`pip install torch-scatter==2.0.6 torch-sparse==0.6.9 -f https://data.pyg.org/whl/torch-1.6.0%2Bcu101.html` worked for me
Going to pick this back up - current proposal for functionality I think covers most use cases (incl. key_panning issue): https://jsfiddle.net/fk1h45vp/41/ ([repo](https://github.com/Sussex-Psychology-Software-Team/jsPsych-Keyboard-Slider/tree/main/proposal)). Will add to -contrib first, lmk if suggestions...