Index:
[thread]
[date]
[subject]
[author]
From: Marcus Sundberg <mackan@stacken.kth.se>
To : ggi-develop@eskimo.com
Date: Tue, 18 May 1999 06:57:03 +0000
Re: XGGI & keymaps
Andrew Apted wrote:
>
> 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.
IIRC we telked about having an env variable to toggle the behaviour.
> > 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 :->).
Maybe, but I don't find it really necessary - we should do it right
without user interaction via config files or such, and people who
want to do it wrong for some strane reason can just hack the source. ;)
What we do need though is a filter-keymap inputlib which translates
keyboard events originating from any source.
> 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).
Ah thanks, didn't know about that program.
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan/
Royal Institute of Technology | Phone: +46 707 295404
Stockholm, Sweden | E-Mail: mackan@stacken.kth.se
Index:
[thread]
[date]
[subject]
[author]