[PD] [hidraw] repeated identical mouse wheel events not reported?

Peter P. peterparker at fastmail.com
Tue Apr 16 11:55:40 CEST 2024


Hi list,

I am using [hidraw] to read events from a mouse. I understand that
hidraw in fact reports the entire state of the device rather whenever
some event happens. Interestingly, moving the scroll wheel down by one
step is reported, but moving it down another step afterwards is not
reported unless a different event (say, moving the mouse a pixel) is
done.
It makes somehow sense if I think of the mouse wheel as a state device,
where a repeated "wheel down" is not considered as a change of state. 

Nevertheless it seems impossible to parse repeated wheel down actions.
Does anyone have an idea (besides using [hid] instead)?

Thanks!
Peter





More information about the Pd-list mailing list