# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/linux/96-usb-hid-apple-kbd-mapping.patch # Copyright (C) 2004 - 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- The Apple USB keyboards carry symbols differing from the on-wire values sent. So we swap the events here simillar as in the 95-adb-mapping patch. Likewise, default to the normal F* keys for usability on the Linux desktop. - Rene Rebe --- linux-2.6.30/drivers/hid/hid-apple.c.orig 2009-09-19 22:34:35.000000000 +0200 +++ linux-2.6.30/drivers/hid/hid-apple.c 2009-09-19 22:34:44.000000000 +0200 @@ -45,7 +45,7 @@ MODULE_PARM_DESC(iso_layout, "Swap the backtick/tilde and greater-than/less-than keys. " "([-1] = auto, 0 = disabled, 1 = enabled)"); -static unsigned int swap_opt_cmd; +static unsigned int swap_opt_cmd = 1; module_param(swap_opt_cmd, uint, 0644); MODULE_PARM_DESC(swap_opt_cmd, "Swap the Option (\"Alt\") and Command (\"Flag\") keys. " "(For people who want to keep Windows PC keyboard muscle memory. "