linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Rumble support for Xbox One S controller
@ 2018-08-16  2:44 Andrey Smirnov
  2018-08-16  2:44 ` [PATCH v2 1/2] hid: microsoft: Convert private data to be a proper struct Andrey Smirnov
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrey Smirnov @ 2018-08-16  2:44 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Andrey Smirnov, Dmitry Torokhov, Benjamin Tissoires, linux-input,
	linux-kernel, Pierre-Loup A . Griffais, Juha Kuikka

Everyone:

This is v2 of the patches adding support for rumble for Xbox One S
controller connected over Bluetooth. Hopefully all of the changes are
pretty straightforward and self-explanatory.

Feedback is wellcome!

Changes since [v1]:

    - code converting the driver to use struct ms_data is split into a
      separate patch

    - CONFIG_MICROSOFT_FF removed

    - explicit PID comparison replaced with MS_QUIRK_FF

    - ms_init_ff() converted to be a no-op for devices that don't have FF

    - all FF cleanup actions moved into ms_remove_ff()

    - struct xb1s_ff_report declared to be packed, magic 4 replaced
      with MAGNITUDE_NUM, output_report_dmabuf converted to be void *
      to avoid the need to typecast it.

Thanks,
Andrey Smirnov

[v1] lkml.kernel.org/r/20180810001714.14659-1-andrew.smirnov@gmail.com

Andrey Smirnov (2):
  hid: microsoft: Convert private data to be a proper struct
  hid: microsoft: Add rumble support for Xbox One S controller

 drivers/hid/hid-ids.h       |   1 +
 drivers/hid/hid-microsoft.c | 142 ++++++++++++++++++++++++++++++++++--
 2 files changed, 138 insertions(+), 5 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-05  8:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-16  2:44 [PATCH v2 0/2] Rumble support for Xbox One S controller Andrey Smirnov
2018-08-16  2:44 ` [PATCH v2 1/2] hid: microsoft: Convert private data to be a proper struct Andrey Smirnov
2018-08-16  2:44 ` [PATCH v2 2/2] hid: microsoft: Add rumble support for Xbox One S controller Andrey Smirnov
2018-09-05  8:20 ` [PATCH v2 0/2] Rumble " Jiri Kosina

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