Skip navigation.
Home
The QNX Community Portal

View topic - Events in Photon

Events in Photon

For the old QNX2 and QNX4 RTOS

Events in Photon

Postby ekso » Wed May 16, 2012 8:53 am

Hi

In Photon I need to block the events left click mouse button and emulate a right mouse click.
Tell me how can I do?
Thanks.
ekso
New Member
 
Posts: 1
Joined: Wed May 16, 2012 8:44 am

Re: Events in Photon

Postby maschoen » Wed May 16, 2012 5:31 pm

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.
maschoen
QNX Master
 
Posts: 2640
Joined: Wed Jun 25, 2003 5:18 pm


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 2 guests

cron