Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754356Ab0BINLO (ORCPT ); Tue, 9 Feb 2010 08:11:14 -0500 Received: from na3sys009aog107.obsmtp.com ([74.125.149.197]:55417 "HELO na3sys009aog107.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754225Ab0BINLL (ORCPT ); Tue, 9 Feb 2010 08:11:11 -0500 From: Michael Poole To: Jiri Kosina , linux-input@vger.kernel.org Cc: Marcel Holtmann , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] Provide a driver for the Apple Magic Mouse References: <1265710460.2383.5685.camel@localhost.localdomain> <201002090736.55576.edt@aei.ca> Date: Tue, 09 Feb 2010 08:10:48 -0500 In-Reply-To: (Jiri Kosina's message of "Tue, 9 Feb 2010 13:40:58 +0100 (CET)") Message-ID: <87y6j2eeqv.fsf_-_@troilus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1161 Lines: 22 I think this patch is ready for real review. The Magic Mouse requires that a driver send an unlock Report(Feature) command, similar to the Wacom wireless tablet and Sixaxis controller quirks. This turns on an Input Report that isn't published in the input Report descriptor that contains touch data (and usually overrides the normal motion and click Report). Because the mouse has only one switch and no scroll wheel, the driver (under control of parameters) emulates a middle button and scroll wheel. User space could also ignore and/or re-synthesize those events based on the reported events. The first patch exports hid_register_report() so the driver can turn on the multitouch report. The second patch adds the device ID and the driver. Some user-space tools to talk to the mouse directly (that is, when it is not associated with the host's HIDP stack) are at http://github.com/entrope/linux-magicmouse . -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/