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