lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.2204111710040.30217@cbobk.fhfr.pm>
Date:   Mon, 11 Apr 2022 17:10:50 +0200 (CEST)
From:   Jiri Kosina <jikos@...nel.org>
To:     frank zago <frank@...o.net>
cc:     Benjamin Tissoires <benjamin.tissoires@...hat.com>,
        linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: Add support for Mega World controller force
 feedback

On Tue, 8 Feb 2022, frank zago wrote:

> This patch adds support for one of the several Mega World USB game
> controller with integrated force feedback. It is a HID based
> memory-less game controller, with a weak motor on the left, and a
> strong one on the right.
> 
> Signed-off-by: frank zago <frank@...o.net>
> ---
>  drivers/hid/Kconfig         |  14 ++++
>  drivers/hid/Makefile        |   1 +
>  drivers/hid/hid-ids.h       |   3 +
>  drivers/hid/hid-megaworld.c | 136 ++++++++++++++++++++++++++++++++++++
>  4 files changed, 154 insertions(+)
>  create mode 100644 drivers/hid/hid-megaworld.c
> 
> diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
> index f5544157576c..2344830d3680 100644
> --- a/drivers/hid/Kconfig
> +++ b/drivers/hid/Kconfig
> @@ -684,6 +684,20 @@ config HID_MAYFLASH
>  	Say Y here if you have HJZ Mayflash PS3 game controller adapters
>  	and want to enable force feedback support.
>  
> +config HID_MEGAWORLD
> +	tristate "Mega World based game controller support"
> +	depends on HID
> +	help
> +	  Say Y here if you have a Mega World based game controller.
> +
> +config MEGAWORLD_FF
> +	bool "Mega World based game controller force feedback support"
> +	depends on HID_MEGAWORLD
> +	select INPUT_FF_MEMLESS
> +	help
> +	  Say Y here if you have a Mega World based game controller and want
> +	  to have force feedback support for it.
> +

Hi Frank,

as the *only* functionality provided by the driver seems to be the force 
feedback, does it really make sense to decouple the two options?

Thanks,

-- 
Jiri Kosina
SUSE Labs

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ