Keyboard usage of mouse movement and clicks on QNX 6.3.2


We would like to use the keyboard for emulating mouse on QNX 6.3.2.
This facilities are available on Desktop Operating system like windows and Linux(X-windows) where the numpad keys are used for mouse cursor movement and clicks of the mouse.

Please advice how this can be realized on QNX6.3.2

This is a very rough description. Both the keyboard and mouse drivers work by emitting events.

You could modify the keyboard driver so that when you press cursor keys, it emits mouse event.

An alternative would be to create a covering region that detects keyboard events and emits mouse events when appropriate.

The possibility for interfering with programs that currently get and use cursor keys is great.

We would like to use a keyboard keys as mouse. In Linux under X-windows there is a feature of utilizing numpad keys for mouse interface. i.e 4 & 6 for left /right movement, 8 & 2 for up/down movement. This feature can be enabled or disabled using shift+numlock keys and the same facility is available under windows by enabling the feature in accesibility options.

Do we have something simillar on Photon interface of QNX 6.3.2.