Re: [PATCH] cannot input bar with JP106 keyboards

From: ryutaroh
Date: Sun Dec 21 2003 - 21:00:59 EST


Hi John,

Thank you for your comments.
I agree to your description of keyboards and character sets.

From: John Bradford <john@xxxxxxxxxxxx>
> > Is the change of keycode of upper-right backslash a new feature of
> > Linux 2.6? What is the advantage of this new feature?
>
> The placement of some keys seems to have changed over time. For
> example, tilde was once shift-0, whilst shift-caret was once overbar.
> My keyboard is marked in this way, and I am used to using shift-0 for
> tilde, however, shift-caret is apparently now popular as tilde, with
> shift-0 producing nothing.
>
> Backslash and Yen share the same code in 8-bit variations of
> ASCII-based. Therefore, the lower-right backslash key and the
> upper-right Yen key may in some cases be used interchangably.
(deleted)

But I haven't completely understand why the keycode of yen-"solid
vertical line" was changed.

(1) Backslash-underscore key (scancode 0x73) and yen-"solid vertical
line" key (scancode 0x7d) were given different keycodes (89 and
124) in Linux 2.4 . Do we have to change the keycode of yen-"solid
vertical line" key (scancode 0x7d) in Linux 2.6?

(2) I don't see why the new keycode is 183. Yen in Unicode is 165.

(3) The topic is keycode of the key having scancode 0x7d. In my
understanding, the assignment of keycodes has little to do with
what is printed on key top. Key tops are taken care by keymaps
loaded by loadkeys(1).

(4) Are there other keyboards having the key with scancode 0x7d? If
there are keyboards with scancode 0x7d in other languages, we
should take them into account.

Ryutaroh
-
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/