[PD] [cyclone/MouseState] not working with the Kiosk Plugin on Linux

Ingo ingo at miamiwave.com
Wed Jun 2 19:11:30 CEST 2021


I was wondering if anybody else is having trouble with [cyclone/MouseState]
when the kiosk plugin is running.

It's not working anymore here with Debian.

 

I have made myself an alternative with [hid] but it's not 100% reliable.

 

[MouseState] was the only left mouse button recognition that always worked
with absolutely every mouse and touch screen.

Especially with multiple devices like a mouse and a touch screen at the same
time - there was never a problem.

 

With [hid] the mouse is recognized 90-95% of the time but not always. After
unplugging and reconnecting it works.

When I'm having two devices at the same time chances that one of them
doesn't work after starting up increases.

 

I'm monitoring /dev/input/ and see if mouse0 or mouse1 is present and if yes
I check for the hid ID which works perfectly.

But [hid] sometimes simply doesn't open the mouse. [hid] only works with the
numbers like [open 7(.

[open mouse( or [open mouse1( or [open mouse 1( does not do anything.

 

Does anyone know how to get [cyclone/MouseState] to work with the kisok
plugin?

 

Alternatively, is there a button that registers momentary mouse pressing and
releasing with a "1" and "0 "?

This means not a switch like [toggle] that needs clicking twice for on / off
(1 / 0 )!

 

I couldn't find anything.

 

I have buttons that change their function when being pressed briefly or
being held for 2 seconds.

 

Thanks!

Ingo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210602/665b25b9/attachment.htm>


More information about the Pd-list mailing list