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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
2.26.2




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux