Pointer device events

Hi all,

I’ve got a kind of keyboard with integrated trackball and a key replacing
the left mouse button. I’ve also got a driver for this keyboard that emits
key-events into photon. Now I also want to emit mouse events (mouse pointer
movements and button clicks). Who knows how the PhEvent_t and PhKeyEvent_t
structs have to be initialized?

Thanks a lot,
Ingolf

Hello Ingolf

If you read the chapter on events in the helpviewer it should explain
what you need to know. In general before you use one to of those
structures below you should set all of the members to zero.

Thanks
Rodney


Ingolf Koch <ikoch.roi@web.de> wrote:

Hi all,

I’ve got a kind of keyboard with integrated trackball and a key replacing
the left mouse button. I’ve also got a driver for this keyboard that emits
key-events into photon. Now I also want to emit mouse events (mouse pointer
movements and button clicks). Who knows how the PhEvent_t and PhKeyEvent_t
structs have to be initialized?

Thanks a lot,
Ingolf