Index:
[thread]
[date]
[subject]
[author]
From: Andrew Apted <ajapted@netspace.net.au>
To : ggi-develop@eskimo.com
Date: Mon, 17 May 1999 14:07:12 +1000
Re: XGGI & keymaps
Marcus writes:
> input-linux-kbd was written for the braindead, but for some reason very
> common, case where Backspace is mapped to Delete and vice versa. I
> remember me and Andrew having a discussion about this quite some time
> ago but apparently it was forgotten about before it was fixed.
Yeah remember having the discussion, but not the outcome.
> I removed Andrew's fix and changed it to use ix86 keycodes directly.
> Non ix86-platforms will have to make sure that Backspace and Delete
> are mapped correctly.
Here's a two cent [1] idea: have a config file "~/.ggi/input/linux-kbd"
which contains keycode overrides. Hmmm, also "/etc/ggi/something" which
contains the default overrides (the ix86 codes for BS, Del, Shift L/R
and maybe those love-to-hate-'em Win keys :->).
[1] two cents because I don't intend to implement it :).
> > > PrintScreen doesn't have a keycode either (like the one above).
> >
> > Same here. wait ... that one produces 0x1c for me.
>
> Well that seems logical... Not.
Let's see... The PrintScreen key generates different scancodes based on
the shift keys:
Normal: e0 2a e0 37
Shift : e0 37
Ctrl : e0 37
Alt : e0 54
Kernel ignores 'e0 2a', and translates 'e0 37' into 0x63 (at least
that's the default -- use `getkeycodes' to check).
Inputdump here shows that the keycode is indeed 0x63, and label is
indeed 0x001c (i.e. Control-\, confirmed by dumpkeys -- why it defaults
to that is anybody's guess).
> Just another special case in input-linux-kbd...
Yeah, no other way round it.
Cheers,
___________________________________________________
\ /
Andrew Apted <ajapted@netspace.net.au> \/
Index:
[thread]
[date]
[subject]
[author]