Re: [vox-tech] keys and keybinding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vox-tech] keys and keybinding
On Thu, May 03, 2001 at 01:21:27PM -0700, Henry House wrote:
> On Thu, May 03, 2001 at 12:30:06PM -0700, Gabriel Rosa wrote:
> > I'm saying that i might have to implement the key event generating myself, as
> > in, hack xfree/console/whatever to respond to whatever code the key generates.
> > I'm asking if there's a simpler way of doing that.
>
> The keyboard hardware must generate a scancode. X converts scancodes into
> keycodes, which allows programs to reliably, for example, test whether the
> key pressed is the right alt key, even though the hardware scancode differs
> radically across platforms. The scancode->keycode maps are text files.
>
> Does the key produce codes in showkey?
I have an old laptop. When the power saving features are used (special
keys) the key shows up in the kernel log (or anther log). I get a
message like unknown/undefined key 0x02A pressed. Might be worth grepping
through /var/log
|