[haiku-bugs] Re: [Haiku] #6442: AltGr should have a separate keycode

  • From: "rq" <trac@xxxxxxxxxxxx>
  • Date: Mon, 23 Aug 2010 19:30:47 -0000

#6442: AltGr should have a separate keycode
-------------------------------+--------------------------------------------
  Reporter:  rq                |         Owner:  pulkomandy
      Type:  enhancement       |        Status:  assigned  
  Priority:  normal            |     Milestone:  R1        
 Component:  Drivers/Keyboard  |       Version:            
Resolution:                    |      Keywords:            
Blocked By:                    |   Has a Patch:  0         
  Platform:  All               |      Blocking:            
-------------------------------+--------------------------------------------

Comment (by rq):

 Replying to [comment:13 anevilyak]:
 > My Kinesis only has a single Alt and it's brand new.

 Oops, I forgot that. Now tell me: the four keys that reside in the top
 rows of the key blocks that happen to be under your thumbs - can you
 reassign them easily?

 > > I strongly suggest at least the latter. BeOS was made for BeBox which
 had its own keyboard but is now dead. RIP. Now we have PC keyboards and
 they have slightly different from those of BeBox.
 > >
 > Last I checked, the BeBox used a perfectly normal PC-style keyboard. At
 least mine didn't come with anything special.

 Really? I thought it had a Mac-style keybooard with Control, Option and
 Command keys, not the one with Control, Win and Alt...

 > > I would love to:
 > > * merge Cmd and Ctrl like it's done in Windows and Linux (give both
 functions to Ctrl key(s))
 >
 > I would absolutely hate that because I find ctrl much more awkward to
 reach than alt on most standard layouts. Sorry, but "everybody else does
 it that way" is not a good argument.

 I wouldn't mind the option to swap Ctrl and Alt, like it swaps Command and
 Control now. You could just use it and we would both be happy. ;)

 Replying to [comment:14 pulkomandy]:
 > Ok, if your keyboard doesn't work like french, let's fix that first.

 Sure. At least we agree about that. :)

 > Merging "control" and "command": I see no interest in doing that. You
 say it "frees" a key, but control is already free for use in applications.
 It creates conflicts in terminal (break [ctrl c] vs copy [alt c] ; sleep
 [ctrl z] vs undo [alt z] ; and so on) and violates the Be API (which says
 there is control, command, option). Adding an extra modifier is ok,
 removing one is not because some apps may be using it already. Reassigning
 some keyboard shortcuts is another discussion.

 I don't think there is an Undo function in Terminal, that's the point.
 There's Copy, Paste, New Tab, Close Tab and Quit. That's five shortcuts
 that would become inconsistent. I could live with that.

 Though yeah, you can leave it like that in order not to break Be API for
 now. But I don't think it's useful in the long run, unless we find more
 ways to make use of Ctrl (Mnemonic Access?), though that would result in
 pointless inconsistency with two other operating systems, of which one has
 ~90% OS market share.

 > So here's the plan :
 >
 >    * Fix some european keymaps to behave like french
 >    * Add an extra modifier code for win key ; or make it a compose
 >    * Start to think about how different actions should be distributed
 around these keys.

 Even just !#1 would make me less grumpy. :) But other points are fine too,
 except I'd rather do !#3 before going with !#2.

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

Other related posts: