I've got some software (written in Qt) that controls some very flexible hardware. Consequently, the display is loaded with controls to adjust this and that. Overloaded, really. I was thinking that one of the general MIDI control surfaces with various buttons and knobs that send MIDI messages might be pressed into service as a dedicated hardware control panel, if:
A) I can write, buy or otherwise locate software to catch MIDI no matter what app is active (I think this is the normal way it works... otherwise MIDI wouldn't really function, would it?)
B) I can send, from that software, keystroke events to a specific app that may or may not be presently active (this way, one could be working in, for instance, the web browser, tap a control on the midi surface, and have the keystroke command properly routed to the hardware.
So, my question is twofold: First, is (B) possible, and second, if it is, any pointers to either already existing software or the appropriate portion of Qt?
TIA.
--Ben