[BRLTTY] Proof of concept code: Filter keyboard keypresses on Linux

Stéphane Doyon s.doyon at videotron.ca
Sun Dec 16 11:27:07 EST 2007


On Sat, 15 Dec 2007, Mario Lang wrote:

> Samuel Thibault <samuel.thibault at ens-lyon.org> writes:
>
>> Andor Demarteau, le Sat 15 Dec 2007 17:28:30 +0100, a écrit :
>>> nice concept however for yoru special gkeys you could have used
>>> setkeycoeds and loadkey, at elast for the console.
>>> on my dell inspiron system some keypresses give off unknown keycode
>>> messages.
>>> It refers to setkeycodes to assign them
>>
>> Right, but that only permits to assign them usual meanings or simulating
>> insertion of a string on the current console. That doesn't permit to
>> increase the volume of the sound board or activate the wireless network
>> for instance.  BTW, Mario, I think your piece of code may be of use for
>> a lot of people for these examples and not only non-sighted users.
>
> Yes, I am aware that this functionality could be useful as
> a stand alone command line utility, I am still pondering
> how to design its interface...

I wrote such a utility for myself a while back. I've put it here:
http://pages.videotron.com/sdoyon/keywatch-0.3.tgz
if you want to take a look at it.

I mapped keys for a console lock, volume, and various music player daemon 
client controls.

-- 
Stéphane Doyon
<s.doyon at videotron.ca>
http://pages.videotron.com/sdoyon/


More information about the BRLTTY mailing list