How to access mouse wheel? I'd like to use it for changing an opacity of some elements during the experiment.

0 votes
1,032 views
asked Mar 26, 2019 by anonymous

1 Answer

0 votes
answered Apr 2 by Ilia Korjoukov (13,040 points)
 
Best answer
Hi!

You can use HID input element and select the mouse as an input device there. Then, the mouse wheel can be accessed as an axis value, which usually returns 0 for the wheel still state, 120 for scrolling up state and 56416 for the scrolling down state. The axis values change rapidly, so I would use a Control Loop script that continuously monitors the axis value

Welcome to EventIDE Q&A forum where you can ask questions about EventIDE software and receive answers from other members of the community

FAQ questions

Installation and License


Coding


Eye-tracking


EEG Analysis


Visual Stimuli


Runtime and Data Collection


Hardware

...