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 - 1:40 pm

On Fri, 2006-01-20 at 14:35 +0100, Carlo Capocasa wrote:

first of all, the design of almost all keyboards makes arbitrary use of
multiple key presses at once impossible. you can google for information
on this; basically there is a sensor strip below the keys that has a
number of "busses" on it. different keys share these busses, and it is
physically impossible to detect one key press when another is held down.

as for use ncurses, it works but provides no way to detect raw key
presses, only character input. hence, there is no difference in ncurses
between a user pressing the tab key or the control key and "i". you also
cannot detect key press and release.

ardour's "ksi" interface has code that handles raw keycodes, even on
another machine (network transparent raw keycode transmission, heh). it
doesn't interact well with a running instance of X Window, so you can't
use it inside a terminal window, but on a text console, its perfect, if
i say so myself ;)

--p

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)
Re: [linux-audio-dev] Re: C++ Keyboard Event Handling, Paul Davis, (Fri Jan 20, 1:40 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)