[haiku-bugs] Re: [Haiku] #6362: Keyboard key names in keymap preflet should reflect actual keyboard

  • From: "rq" <trac@xxxxxxxxxxxx>
  • Date: Thu, 22 Jul 2010 18:53:58 -0000

#6362: Keyboard key names in keymap preflet should reflect actual keyboard
---------------------------------+------------------------------------------
  Reporter:  rq                  |         Owner:  axeld       
      Type:  enhancement         |        Status:  reopened    
  Priority:  normal              |     Milestone:  R1          
 Component:  Preferences/Keymap  |       Version:  R1/alpha2   
Resolution:                      |      Keywords:  input-server
Blocked By:                      |   Has a Patch:  0           
  Platform:  All                 |      Blocking:              
---------------------------------+------------------------------------------

Comment (by rq):

 [comment:3 anevilyak] said:
 > There's not really much to discuss here, the reason the keymap applet
 uses those is, as Axel pointed out, what actual function those keys will
 perform in Haiku. It makes no sense to say Alt since the keymap could just
 as easily let me make that key say 'a' or 'b' when hit.

 Well, not really. I just tried to assign letters to some of those keys and
 the only one that allowed me do it was the unassigned Win key.

 > The representations they're given now  indicate what they'll actually
 do, and are also the representations used in things like menu items to
 indicate what key combination to hit as an accelerator shortcut. Putting
 alt in the keymap would completely remove your ability to associate that.

 This is wrong again, because the representations used in menu items change
 when I switch between Haiku and Win/Lin-like (Ctrl) shortcuts. And they
 never say CMD, but say either ALT or CTRL instead.

 However, I see what you mean, and thanks for the explanation. But I think
 we should put some more thought into making those functions
 distinguishable and at the same time not causing an impression that we
 have no idea which physical keys the user has in which places.

 Perhaps we could put some short explanatory text below the image? In that
 case, we could also distinguish keys by color, e.g. use green instead of
 CMD (and leave the original printed label greyed out), orange instead of
 OPT and so on.

 [comment:4 starsseed] said:
 > IMHO : We'll need to think about improving support for <ALT> / <ALTgr>
 distinction in the input server

 Agreed. Though currently, it's more mac-like where both OPT keys act like
 AltGr. By the way, I raised this in #6364. You may want to comment there
 too.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6362#comment:6>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: