[LAU] Re: QWERTY to midi?

Fons Adriaensen fons at kokkinizita.net
Sun Apr 15 08:47:35 EDT 2007


On Sun, Apr 15, 2007 at 01:59:11PM +0200, Ismael Valladolid Torres wrote:

> Frank Pirrone escribe:
> > Another option Josh, is vkeybd.  Viz:
> 
> vkeybd only sends MIDI in answer to keypresses when vkeybd window has
> the focus, which makes it unusable in many situations.

That is the defintion of 'keyboard focus' ... when you have it,
you receive key events, otherwise not.

X11 apps are not supposed to bypass this, except by 'grabbing',
the keyboard but that may interfere with correct operation of
other applications that require key events. Some specific key
combinations reserved by the window manager may still work, but
you wouldn't be able to type text in any other window. 
Vkeybd would then require a 'release keyboard' button or some
such.

The way keyboard focus is given to a window may depend on
your window manager's settings. Most will have an option not
to interfere with the focus, and in that case it will stay
with the current owner until it is explicitly requested by
another window. This solves the problem in many cases.
But if any other app takes the keyboad focus when the mouse
pointer is over any of its windows there is little you can do
about that. Wwell behaved apps should of course not do this.

-- 
FA

Follie! Follie! Delirio vano è questo !





More information about the Linux-audio-user mailing list