Re: Keys and remapping them
Re: Keys and remapping them
- Subject: Re: Keys and remapping them
- From: William Mortensen <email@hidden>
- Date: Wed, 21 Nov 2007 01:47:35 -0800
On Nov 21, 2007, at 1:28 AM, Harald Hanche-Olsen wrote:
+ William Mortensen <email@hidden>:
This is hardware-dependent. I believe Apple's desktop USB keyboards
send different keycodes for left and right modifiers. On the other
hand, ADB-based laptop keyboards, as found on all iBooks and
PowerBooks until 2005, always send the keycode for the left
modifier. In 2005 the 15" and 17" PowerBook switched to a USB-based
keyboard while the 12" PB and the iBooks stayed with the ADB
keyboard.
Hmm, on my 12 inch PB I cannot even find any trace of the keyboard in
System Profiler. But from what you say, I guess it must be an ADB
one. System Profiler doesn't seem to mention ADB, but it does list
the USB tree, holding the USB Bluetooth controller and the trackpad
but no keyboard. The boot messages admit that ADB exists, but don't
mention the keyboard either. Obviously there is one; I am typing on
it.
Right. You have the same vintage 12" PB as me--it's an ADB keyboard.
However, on both types of keyboard, holding down the Fn key in
combination with Ctrl or Shift sends the keycodes for right-Ctrl and
right-Shift
Not in xev on my machine: But keep in mind that I am running the
tiger X11 on leopard. Possibly the X server merges those different
keycodes into one. Also, I wonder ... if I press Fn-Ctrl-I, then
presumably the Fn key will modify both the Ctrl and I keys, resulting
in Ctrl_R-KP_5? Some rather entertaining confusion might ensue.
Oh. Good point. It does look like keys that aren't part of the
embedded numpad (like A, E, D...) aren't affected by the Fn key. And I
think if you really wanted to mess around with the Info.plist you
could make _all_ of the Fn keycodes the same as the non-Fn keycodes,
so that Fn+U just gave you U instead of numpad-4, and so on. I'm not
sure if this would also disable the num pad when Num Lock is engaged,
but personally, I hardly use it anyway.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden