Speakup in userspace

Luke Yelavich themuso at themuso.com
Wed Jun 20 06:11:14 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Jun 20, 2007 at 07:59:52PM EST, Samuel Thibault wrote:
> 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.

Ok. Was unaware of this.

> > > 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.

I was referring to reading the console, which is what I think Tyler was 
referring to.
- -- 
Luke Yelavich
GPG key: 0xD06320CE 
	 (http://www.themuso.com/themuso-gpg-key.txt)
Email & MSN: themuso at themuso.com
Jabber: themuso at jabber.org.au
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGeP1CjVefwtBjIM4RAhUsAKDxhDCdDMqUMkB/ExeZ4yJqLUtwbACggx2l
UDG2iVT0iEMWnYE21e8q+aQ=
=Sgb8
-----END PGP SIGNATURE-----




More information about the Speakup mailing list