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

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Sun, 22 Aug 2010 14:55:39 -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 pulkomandy):

 As for terminal, I'm forced to disagree with the above :
  * Power-users are the one using keyboard shortcuts
  * Power-users also rely a lot on their muscle memory (at least I do)

 Introducing different keyboard shortcuts in terminal is annoying,
 particularly for functions like control+c = copy. I see no good reason to
 use anything else. I tend to use my left hand only to type these
 shortcuts, and the linux way, control+shift+key :
  * Is very difficult to reach, while alt+key works fine
  * Does not work under windows, so it doesn't help anyway ;)
 In a more general view, double-modifier shortcuts are evil.

 Anyway, all of this is unrelated. Currently there is no way to
 differenciate AltGr from "Win" key (or Alt from AltGr, depending on the
 keymap). The choices are :
  * Introduce a new modifier key that could have an use as pointed out by
 rq above (win+f = OS find, stack and tile, switching workspaces, whatever
 WM shortcuts or OS shortcuts). This extra modifier would never be used in
 BeOS apps, so it could be reserved to the OS. It could even be intercepted
 somewhere so apps never hear of it.
  * Keep the key as a regular key and not a modifier. This means the key
 has a use on its own (for example opening the menu), and can be used with
 modifiers like shift+win or alt+win. This is not really useful, I think.
  * Make it a compose key. http://en.wikipedia.org/wiki/Compose_key . This
 can have its uses, too, allowing to write chars that are otherwise missing
 from your keymap. Sometimes I have to write in spanish with my french
 keyboard and lack some of their characters. I don't want them to be easily
 available, but with compose it would be easier to reach them.

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

Other related posts: