[linux-audio-dev] Re: C++ Keyboard Event Handling
Paul Davis
paul at linuxaudiosystems.com
Fri Jan 20 12:58:51 UTC 2006
> > Anyway, keybord input is done by handling "press" and "release"
> > events. When you get a "press" event, you set some state variable for
> > the corresponding key to "down", and when you get a "release" event,
> > you clear that state variable.
>
> Sounds great! Do you have a code example?
not possible without specifying which graphical user toolkit you want to use.
if you don't want to use a GUI toolkit, you are talking about raw terminal keycodes,
which can be done but its hard, non-portable and hacky.
> Hm, I'm wondering if I could do this sticking to C++ builtins...
>
totally out of the question.
More information about the Linux-audio-dev
mailing list