Hi All,
I'm currently writing a driver for a usb controller. I'd like to basically send "key" events in response to the USB device buttons being hit.
I've got the USB device under control except I've got no idea how to send keyboard event to another app? My guess is that I should somehow communicate with the window server (I'm on OS 10.2.3).
The application to which I want those keyboard event sent is whichever is in focus/topmost. I'd like this to work both with Carbon and Cocoa.
Anybody's got an idea?
Thanks
JFT
BTW I'm writing the driver for Microsoft Strategic Commander for those interested.
I'm currently writing a driver for a usb controller. I'd like to basically send "key" events in response to the USB device buttons being hit.
I've got the USB device under control except I've got no idea how to send keyboard event to another app? My guess is that I should somehow communicate with the window server (I'm on OS 10.2.3).
The application to which I want those keyboard event sent is whichever is in focus/topmost. I'd like this to work both with Carbon and Cocoa.
Anybody's got an idea?
Thanks
JFT
BTW I'm writing the driver for Microsoft Strategic Commander for those interested.