Re: Enhanced Keyboard Driver

From: Dmitry Torokhov
Date: Thu May 12 2005 - 15:47:00 EST


On 5/12/05, Alan Bryan <icemanind@xxxxxxxxx> wrote:
> >
> > What do you actually want to do?
> >
> specifically, I am trying to write a program similar
> to the old Sidekick program of the DOS days. A
> "daemon", if you will, that will popup on the screen
> when a predetermined series of keystrokes are hit. The
> program will then do various things, like record/play
> macros, calculator, calendar, programmer's guide, etc
> etc...
>
> The part I'm having trouble with though is having it
> popup when predetermined keystrokes are pushed. I
> don't think Linux has a way to hook into the keyboard
> (if I'm wrong, someone please tell me).
>

Well, I don't think you want to tap into the kernel driver for that. I
mean if one uses X over the network I would assume that the popup
driver will run on the remote box while keyboard is on my local box.

The daemon is for X environment, right? You need to work with X
server, not kernel.

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/