Issues with touchscreen and momentary button

Hi everyone

I’m using a Samsung galaxy tab A7 as a touch screen with the Duet display app (https://duetdisplay.com/), with last TD and windows10

The point is to replace the MIDIcontroller I use for VJing by a touch interface, and mostly it works fine.

However, I have a problem with the Momentary buttons (I use widgets): the simple touch is detected as an event in the multitouchDAT, but select isn’t, and the Value0 parameter of the button won’t update unless there’s a small slide while tapping, i.e. some movement must be detected…

Oddly, tapping without moving works very well in Toggle mode.

For now, I get around this by recreating a Momentary behavior from a Toggle button : grabbing the Value0 in a parameterCHOP, passing it into a delayCHOP for 1 sample, then overring the Value0 in the button with a chopexecuteDAT.

But doing this for every temporary button in my user interface would be messy, especially since a button can change from Toggle to Momentary depending on the generative module running.

Any idea what’s going on here, and how to fix it?
I join a .tox file, but obviously you won’t be able to test it without a touch screen…
tempo_tap.tox (34.0 KB)

Thanks

G.