Re: [linux-audio-dev] Re: C++ Keyboard Event Handling

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: The Linux Audio Developers' Mailing List <linux-audio-dev@...>
Date: Friday, January 20, 2006 - 12:49 pm

On Fri, 20 Jan 2006, Carlo Capocasa wrote:

You can't. Getting the key is a I/O operation on the terminal.
Each terminal has its own language, which is out of the scope
of the standard C++ (well, at least I am sure of that for C,
C++ should be the same I guess).
You need to use some layer, like ncurses or something.
Or go to X Window where you can handle Key events.
Maybe SDL is good for that also (I don't know if it works for
terminals, check it).

C├ędric.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[linux-audio-dev] C++ Keyboard Event Handling, Carlo Capocasa, (Fri Jan 20, 11:29 am)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Sat Jan 28, 9:55 pm)
Re: [linux-audio-dev] C++ Keyboard Event Handling, Jan Depner, (Fri Jan 20, 10:34 pm)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Sat Jan 21, 10:27 am)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Sun Jan 22, 8:13 am)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Sun Jan 22, 10:08 am)
Re: [linux-audio-dev] C++ Keyboard Event Handling, Alfons Adriaensen, (Fri Jan 20, 1:05 pm)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Fri Jan 20, 1:33 pm)
Re: [linux-audio-dev] Re: C++ Keyboard Event Handling, David Olofson, (Fri Jan 20, 1:52 pm)
Re: [linux-audio-dev] Re: C++ Keyboard Event Handling, David Olofson, (Fri Jan 20, 1:57 pm)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Fri Jan 20, 2:16 pm)
Re: [linux-audio-dev] Re: C++ Keyboard Event Handling, Alfons Adriaensen, (Fri Jan 20, 1:49 pm)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Fri Jan 20, 2:20 pm)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Fri Jan 20, 2:30 pm)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Fri Jan 20, 5:28 pm)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Fri Jan 20, 7:55 pm)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Fri Jan 20, 9:02 pm)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Fri Jan 20, 2:59 pm)
Re: [linux-audio-dev] Re: C++ Keyboard Event Handling, Cedric Roux, (Fri Jan 20, 1:35 pm)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Fri Jan 20, 2:40 pm)
Re: [linux-audio-dev] C++ Keyboard Event Handling, Michael Tewner, (Fri Jan 20, 12:44 pm)
Re: [linux-audio-dev] C++ Keyboard Event Handling, Michael Tewner, (Fri Jan 20, 12:46 pm)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Sun Jan 22, 11:03 am)
Re: [linux-audio-dev] C++ Keyboard Event Handling, David Olofson, (Fri Jan 20, 12:25 pm)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Fri Jan 20, 12:41 pm)
Re: [linux-audio-dev] Re: C++ Keyboard Event Handling, Paul Davis, (Fri Jan 20, 12:56 pm)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Fri Jan 20, 1:26 pm)
Re: [linux-audio-dev] Re: C++ Keyboard Event Handling, Cedric Roux, (Fri Jan 20, 12:49 pm)
Re: [linux-audio-dev] Re: C++ Keyboard Event Handling, David Olofson, (Fri Jan 20, 1:36 pm)
[linux-audio-dev] Re: C++ Keyboard Event Handling, Carlo Capocasa, (Fri Jan 20, 1:19 pm)