Should this not effect me?
No. The HID stack opens the HID driver for exclusive access, but you will
be replacing the HID driver with your own. You can do whatever you want.
Of course, when you do so, it will no longer be seen as a mouse. You need
to realize that.
--
Tim Roberts, ti...@probo.com
Providenza & Boekelheide, Inc.
if(cbRead > 0)
printf("X move %d Y move %d buttons %u wheel direction %d\n",info.xmotion,info.ymotion,info.status,info.wheel);
}
[/code]
So thats is the first part of my project completed.
I have 2 more parts but i am starting to fear, the bit i thought would be the easiest, is actually the hardest.
Now i need to create a virtual MIDI device. This i will use to present my midi events to a port that can be enumerated on the system by a sequencer or virtual instrument that uses MIDI as a controller.
I thought i could somehow use winmm.dll to create the virtual device but i cant see how.
i can call midiOutShortMsg(...) to send my events. But the virtual instruments are not MIDI out sources so they do not have a device id for a midi out device.
The closest I have got is looking at the mpu401 and uart examples in the DDK. But thats scary back to KM again. Yuk. Too hard to debug.
You guys are certainly know your stuff, and was wondering if you could give me some advice on the easiest way send my midi events to a midi port that could be selected by a MIDI application?
(I could have used MIDI Mapper pre Windows 7 but its Gone to i can't route the events to the consuming application. But i certainly would prefer my own vertual port.)