Skip to content

HID: gamecube-adapter

François-Xavier Carton linux-input 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesNew
  2. v24 patches 2 repliesSuperseded
  3. v13 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- minor coding style edits

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4HID: gamecube-adapter: add nintendo gamecube adapterMAINTAINERS drivers/hid/Kconfig drivers/hid/Makefile +2 more+412 -00 replies
2/4HID: gamecube-adapter: add rumble supportdrivers/hid/Kconfig drivers/hid/hid-gamecube-adapter.c+84 -10 replies
3/4HID: gamecube-adapter: add auto calibrationdrivers/hid/hid-gamecube-adapter.c+18 -60 replies
4/4HID: gamecube-adapter: restore input after suspenddrivers/hid/hid-gamecube-adapter.c+11 -00 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/4] HID: gamecube-adapter

Hi all,

This series adds a driver for Nintendo gamecube controller USB adapters. I've only done minor coding style edits since v2, to better conform to the kernel guidelines.

I'd greatly appreciate a review of the code (especially since this is my first contribution to the kernel). I've been applying this patch series to several 5.4 kernels, the latest being 5.9.66.

Many thanks,
François-Xavier

---

Changelog:

v3:
- minor coding style edits

v2:
- Replaced calibration parameters by auto calibration using saved min/max values.
- Only send rumble output reports if the value changed.
- Only set rumble capability for normal controllers; wavebird controllers do not support rumble.
- Send init command after suspend to get input reports again.

---

François-Xavier Carton (4):
HID: gamecube-adapter: add nintendo gamecube adapter
HID: gamecube-adapter: add rumble support
HID: gamecube-adapter: add auto calibration
HID: gamecube-adapter: restore input after suspend

 MAINTAINERS                        |   6 +
 drivers/hid/Kconfig                |  18 ++
 drivers/hid/Makefile               |   1 +
 drivers/hid/hid-gamecube-adapter.c | 492 +++++++++++++++++++++++++++++
 drivers/hid/hid-ids.h              |   1 +
 5 files changed, 518 insertions(+)
 create mode 100644 drivers/hid/hid-gamecube-adapter.c
Signature · 1 line
2.26.2