Adding new viewer events

Hi,

Is it possible to add new events such as right click in the viewer? I am asking this as I don’t seem to be able to distinguish between click and dblclick events in the viewer, at least on my mac.

Thanks for any help you can provide.

Regards
Michael

Anything in particular I have to say to get a reply?

Sorry for the delay :blush:.

Is it possible to add new events such as right click in the viewer?

The place to look at to answer this question is InteractionEvents. And the answer is no, right now. Reason: We currently explicitly filter for left-click events and discard all others.

I am asking this as I don’t seem to be able to distinguish between click and dblclick events in the viewer, at least on my mac.

What did you try? Both click and dblclick are events being emitted by InteractionEvents.

Thanks for your help nikku.

What I mean by not being able to distinguish between click and dblclick
events in the viewer is that if I am listening for both only click events
get reacted to.

I will have a look InteractionEvents.