linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Poole <mdpoole@troilus.org>
To: linux-input@vger.kernel.org
Subject: [RFC PATCH 0/3] Support Apple Magic Mouse
Date: Mon, 25 Jan 2010 00:04:34 -0500	[thread overview]
Message-ID: <1264395877-2582-1-git-send-email-mdpoole@troilus.org> (raw)

he Magic Mouse uses a vendor-specific code page to turn on its
multi-touch support, and then reports that with an "unlisted"
input report.  The first two patches in this series allow the
driver to (respectively) register for and enable those reports.

The third patch is the driver itself.  The major and minor axis
lengths use what the device sends, and the units for those are
larger than for the touch resolution.  I'm not sure how hard a
rule it is that those be in surface units.

 drivers/hid/Kconfig           |   10 +
 drivers/hid/Makefile          |    1 +
 drivers/hid/hid-core.c        |    4 +-
 drivers/hid/hid-ids.h         |    1 +
 drivers/hid/hid-magicmouse.c  |  395 +++++++++++++++++++++++++++++++++++++++++
 drivers/hid/usbhid/hid-core.c |   23 +++
 include/linux/hid.h           |    5 +
 net/bluetooth/hidp/core.c     |   25 +++
 8 files changed, 463 insertions(+), 1 deletions(-)


             reply	other threads:[~2010-01-25  5:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-25  5:04 Michael Poole [this message]
2010-01-25  5:04 ` [RFC PATCH 1/3] Export hid_register_report() Michael Poole
2010-01-25  5:04   ` [RFC PATCH 2/3] Add a hid_ll_driver.hid_set_report() function Michael Poole
2010-01-25  5:04     ` [RFC PATCH 3/3] Add a device driver for the Apple Magic Mouse Michael Poole

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1264395877-2582-1-git-send-email-mdpoole@troilus.org \
    --to=mdpoole@troilus.org \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).