Re: [PATCH 1/2] hid/apple: add module parameter to swap Command andOption keys

From: Jiri Kosina
Date: Wed Mar 11 2009 - 08:32:07 EST


On Sat, 7 Mar 2009, Paul Collins wrote:

> Apple keyboards have the Command keys (a.k.a. the Apple or "waffle" key)
> in the positions normally occupied on PC keyboards by the Alt/AltGr
> keys, and the Option or Alt keys in the position occupied by the
> so-called Windows keys. Folks who have been using PC-type computers for
> too long generally have insurmountable muscle memory in this regard.
> This patch adds a module parameter, defaulting to off, that swaps these keys.

Hi Paul,

as this looks like "usability" thing (i.e. nothing that would be implied
by the actual hardware design), wouldn't it make more sense to do the
remapping from userspace using EVIOCSKEYCODE ioctl()? HID devices support
it for quite some time already.

There are various tools to do this in a user-friendly way. Keytouch, to
pick one -- http://keytouch.sourceforge.net/

--
Jiri Kosina
SUSE Labs

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/