[haiku-development] Re: AltGr Key, key_map, and the US-International Keyboard

  • From: Rimas Kudelis <rq@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 01 Apr 2012 14:53:44 +0300

Hi Oliver,

2012.04.01 13:37, Oliver Tappe rašė:
On 2012-03-31 at 19:03:41 [+0200], John Scipione<jscipione@xxxxxxxxx>
wrote:
On Sat, Mar 31, 2012 at 11:58 AM, Joseph Groover<looncraz@xxxxxxxxxxx>
wrote:
I would just like to say that my #1 dislike in Haiku is that my left and
right Alt-keys are treated differently.

They both say 'Alt' and so they should do the same thing....  illogical
any
other way you look at it.
I don't understand, at the current moment they do for the most part.
This is about AltGr which is not labelled the same and does not do the
same thing, but is for international keyboards only.
The point is that "AltGr" on international keyboards is the same key as the
right "Alt" on US keyboards, just with a different label - the scancode is
always the same.

We currently map the right Alt key (no matter the label) to the OPTION
role, while on BeOS it was mapped to COMMAND. That's why on BeOS there were
two COMMAND keys, but on Haiku there's only one.

In fact, Haiku keymaps with AltGr as Option are supposed to have the ritght Win-key as Command, so on most full-size keyboards, there should still be two Command keys. The only problem is that many keymaps are buggy and leave the right Win-key simply unassigned. See http://dev.haiku-os.org/ticket/6364 .

Rimas

Other related posts: