Skip to content

RFC Support Apple Magic Mouse

Michael Poole linux-input 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3Export hid_register_report().drivers/hid/hid-core.c include/linux/hid.h+3 -10 replies
2/3Add a hid_ll_driver.hid_set_report() function.drivers/hid/usbhid/hid-core.c include/linux/hid.h net/bluetooth/hidp/core.c+52 -00 replies
3/3Add a device driver for the Apple Magic Mouse.drivers/hid/Kconfig drivers/hid/Makefile drivers/hid/hid-core.c +2 more+408 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] Support Apple Magic Mouse

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(-)