From: "François-Xavier Carton" <fx.carton91@gmail.com>
To: linux-input@vger.kernel.org, Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: "François-Xavier Carton" <fx.carton91@gmail.com>,
"Ethan Lee" <flibitijibibo@gmail.com>,
"Bastien Nocera" <hadess@hadess.net>
Subject: [PATCH v3 0/4] HID: gamecube-adapter
Date: Wed, 14 Oct 2020 03:30:19 +0200 [thread overview]
Message-ID: <20201014013023.23078-1-fx.carton91@gmail.com> (raw)
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
next reply other threads:[~2020-10-14 9:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-14 1:30 François-Xavier Carton [this message]
2020-10-14 1:30 ` [PATCH v3 1/4] HID: gamecube-adapter: add nintendo gamecube adapter François-Xavier Carton
2020-10-14 1:30 ` [PATCH v3 2/4] HID: gamecube-adapter: add rumble support François-Xavier Carton
2020-10-14 1:30 ` [PATCH v3 3/4] HID: gamecube-adapter: add auto calibration François-Xavier Carton
2020-10-14 1:30 ` [PATCH v3 4/4] HID: gamecube-adapter: restore input after suspend François-Xavier Carton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201014013023.23078-1-fx.carton91@gmail.com \
--to=fx.carton91@gmail.com \
--cc=benjamin.tissoires@redhat.com \
--cc=flibitijibibo@gmail.com \
--cc=hadess@hadess.net \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.