Hi Daniel, USB sound devices with mute/unmute buttons usually have a USB endpoint that enumerates as Human Interface Device; in that way, they are simply keyboards with a highly limited set of keys. Now, I'm not aware of any GNU Radio OOT that is able to capture such keyboard events, but that doesn't necessarily mean something like that doesn't exist. Problem is that registering a listener for key events is OS-specific. Maybe one can find something portable based on SDL?
Easiest case I can think of: one could simply imagine configuring your Window/Session manager to execute a specific program on the matching key press, which in turn might, for example, simply send a UDP packet or something similar to a GNU Radio application, where a pass/drop block would change its operational state based on that. Or maybe a multiplier that changes between factors of 0 and 1, or something similar. The point here is that what should happen when such an event occurs depends on what your flow graph looks like, and what you want the event to manipulate. Cheers, Marcus On 10.01.2016 11:59, Daniel Pocock wrote: > > I added a new wiki page about this topic: > > https://gnuradio.org/redmine/projects/gnuradio/wiki/TransmitterActivation > > Does anybody have any examples of hardware they have tested, e.g. > microphones with PTT switch? It would be useful to list some of them on > the page. > > Can anybody comment on how GNU Radio interacts with USB devices, for > example, if a microphone button or foot switch acts like a USB Joystick > button, how would GNU Radio handle that? > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio _______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
