[haiku-bugs] Re: [Haiku] #7965: Keymap Modifiers Menu with Mac Modifiers Option

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Mon, 03 Oct 2011 17:52:02 -0000

#7965: Keymap Modifiers Menu with Mac Modifiers Option
   Reporter:  jscipione           |      Owner:  axeld
       Type:  enhancement         |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Preferences/Keymap  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  1                   |   Platform:  All

Comment (by axeld):

 Replying to [comment:9 jscipione]:
 > Replying to [comment:8 axeld]:
 > > A Mac keyboard isn't just about switching the modifiers. You would
 need to have a "* (Mac)" equivalent of your keymap, and that one might be
 automatically selected (which takes care of the any mapping changes).
 > Bullshit, the "* (Mac)" keymaps are a hack and should be removed.

 Nope, I'm afraid you are on the wrong track here...

 > [...] All other keys use the same keycodes as a PC keyboard.

 ... while that is true, that doesn't affect the keymap at all. The Apple
 keymap layout is often different from a regular one, and needs a "* (Mac)"
 keymap alternative. Just to give you a simple example: the '@' symbol is
 (IIRC) Alt-l on a German Mac, but AltGr-Q on a regular keymap. And that's
 just one difference out of many. Finding the backslash on a German Mac
 keyboard is a challenge.

 While the standard US keymap might be automatically translated into a Mac
 keyboard keymap, that's likely to actually be the exception rather than
 the rule. And if that's the case (which we would need to verify, though),
 then it's not worth to do that IMO, but one should rather automatically
 choose the Mac keymap alternatives.

 BTW your apology about the tone is appreciated.

 > If the above solution were to be implemented then the Switch Modifiers
 button would indeed become superfluous and could be hidden. The button is
 a hack to placate Windows users after all. The patches on this ticket
 would also be rendered useless.

 Yeah, sorry for that, but I guess it's for the better ;-)
 It's not just for Windows users, but also for Linux users, though. Or
 probably pretty much any other OS on a PC, for that matter; Windows just
 happen to be the most common one.

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

Other related posts: