Re: Keyboard Layout Fixes (Was Re: Advanced preferences)
Re: Keyboard Layout Fixes (Was Re: Advanced preferences)
- Subject: Re: Keyboard Layout Fixes (Was Re: Advanced preferences)
- From: Jeremy Huddleston <email@hidden>
- Date: Fri, 23 Nov 2007 18:09:59 -0800
Ahh... I see it now in darwin.c... it forces a DarwinKeyboardReload()
on key presses if the DarwinModeSystemKeymapSeed() changed since last
key press. I was looking only in the quartz subdir since I thought
this was quartz-specific and not darwin-specific.
On Nov 23, 2007, at 15:49, Martin Costabel wrote:
Jeremy Huddleston wrote:
[]
What does the 'Follow System Keyboard Layout' option do (or what
did it do in Tiger)? Looking at the code now, it looks like it's a
really fancy checkbox that actually does nothing in the code. Did
it work in Tiger? Did id do what you expected in Tiger (like setup
your mode_switch key on intl keyboards)? Would fixing this to
behave like Tiger (assuming this check-box did your magic for you)
solve 90% of your problems?
I can only tell what it does on Leopard (but as far as I remember it
did the same thing on Tiger). In short, it does what it says:
When the box is checked and I switch keyboards from the
International Preferences Pane or from the menu bar drop-down menu,
the keymap in X11 switches in parallel. I then have always the same
keymap in X11 and outside.
When the box is unchecked, the X11 keymap remains unchanged even
when I change keyboards from the input menu. I will then have
different keymaps in X11 (for example a French azerty keyboard) and
in aqua (for example a German qwertz keyboard).
It has no influence on whether the keycode 66 is bound to
Mode_switch or to Alt_L, but of course if it is bound to Mode_switch
then (and only then) the Alt key acts as the corresponding modifier,
just as it does outside X11, so that you get, for example, | by
pressing Alt-Shift-L on a French keyboard, or Ø by pressing Alt-
Shift-O on a U.S. keyboard.
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden