Received: by mail.netbsd.org (Postfix, from userid 605) id D6D6119D624; Tue, 30 Nov 2010 11:35:32 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id B8DCD19D624 for ; Tue, 30 Nov 2010 11:35:30 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 877B8175DD; Tue, 30 Nov 2010 11:35:30 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Tue, 30 Nov 2010 11:35:30 +0000 From: "Frank Wille" Subject: CVS commit: src/sys/dev/usb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20101130113530.877B8175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Frank Wille" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: phx Date: Tue Nov 30 11:35:30 UTC 2010 Modified Files: src/sys/dev/usb: ukbd.c usb_quirks.c usb_quirks.h Log Message: Support for Apple notebook keyboards, which have a few quirks. 1. On ISO-keyboard the keycodes for the key left of '1' and right of Shift are swapped. 2. Find the Apple FN key in the report descriptor and do the translations needed, before passing the keycodes to wscons. 3. Those keyboards only have the left Alt key. AltGr is missing. So it is emulated when holding down FN together with Alt. To generate a diff of this commit: cvs rdiff -u -r1.108 -r1.109 src/sys/dev/usb/ukbd.c cvs rdiff -u -r1.69 -r1.70 src/sys/dev/usb/usb_quirks.c cvs rdiff -u -r1.25 -r1.26 src/sys/dev/usb/usb_quirks.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.