Events in Photon


In Photon I need to block the events left click mouse button and emulate a right mouse click.
Tell me how can I do?

There might be a Photon wide adjustment that will do this, but I doubt it. You will have to check the documentation.

It’s possible that the mouse driver has such an option too.

Here is a programatic alternative.

Step 1, read about the Photon architecture, especially the part about Photon space and events moving through it.
Step 2, Write a program that creates a region behind the mouse driver that is sensitive and opaque to the left click mouse buttons.

Step 3, In the program that owns this region, when a left mouse click is received, emit a right mouse click.