Speakup in userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Luke Yelavich, le Wed 20 Jun 2007 19:56:22 +1000, a ?crit :
> -----BEGIN PGP SIGNED MESSAGE-----
> On Wed, Jun 20, 2007 at 06:33:54PM EST, Tyler Spivey wrote:
> > 1. How can a userspace program get extended key sequences such as caps
> > lock+i? Under Linux, I don't think that an API exists for this.
> 
> THis is possible, using the uinput module from the kernel.

And it is tedious: you have to grab the keyboard, and re-simulate
keypresses you don't interpret.

> > 2. What about console output? There is /dev/vcs[a]x, but polling that
> > a few times a second would be inefficient if the system was under load.
> 
> BrlTTY uses this,

For simulating keypresses, yes, but not for stealing key combinations.

Samuel




[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux