linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] hid-magicmouse: delete the second input device
@ 2010-03-08 21:29 Benjamin Tissoires
  0 siblings, 0 replies; only message in thread
From: Benjamin Tissoires @ 2010-03-08 21:29 UTC (permalink / raw)
  To: linux-input

Hi,

in the current implementation of hid-magicmouse, the driver creates two
input device. As the Magic Mouse does not reports at the connexion the
fields of the multitouch part, the previous implementation creates a
second device to report to the user space the other axes.

I manage to remove this second device by manually injecting the fields
in the report created by the hid_register_report.

To do that, I had to export the function hid_register_field. This is the
object of the first patch.
Then, in the second patch, I inject the fields in the report, thus
removing the line containing 'report->size = 6;'
The last patch is just a cleanup.

Cheers,
Benjamin


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-08 21:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-08 21:29 [PATCH 0/3] hid-magicmouse: delete the second input device Benjamin Tissoires

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