Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp689290rwl; Sat, 25 Mar 2023 09:10:32 -0700 (PDT) X-Google-Smtp-Source: AKy350Z9fwRYl6scR0FgvHBnlWLPJAIdcdNOViCBGH3FXNVpX6XhBgIvz1hEIIe8yNT4S0f12t9+ X-Received: by 2002:a17:903:1c8:b0:1a1:aa3b:e7d0 with SMTP id e8-20020a17090301c800b001a1aa3be7d0mr6908807plh.64.1679760632059; Sat, 25 Mar 2023 09:10:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679760632; cv=none; d=google.com; s=arc-20160816; b=ZnHfk3cKeFbOgGg/iB0BZyI0foC89LPKJuCyERrgcKCjNM3SL2jNBwyTI7/WE1gCIR ONkgkg4YEchJ2tW5jQF+B4NXvFmP+6YyMXWDcetJ5BZv+IhrFrLjSiMtEhfSBMpaKYg2 QTAFtgR/9Y6ufyMriJ08yXcyxSGWR8+X0ISxQ/EIXeFG0LD2ScTRPF/pt1CR4hVuD6l5 1sS8ioyivgz62DjoRuOQPwlAHU1h7lnoHft3TGscAvAIW7Hnh14hWXqpBEL2c6qPCbx1 PoXESHmD5Umnn+WPgIVlUM8sQhHh8g5tk+wyjd1h+WOXZ9gDpY2h3h4NCU6brl6pU5ij mIWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=Iu3sMDpb2cGCTRvieQtO3ixStP5OjjgHrhtfj3Yc0Rc=; b=ZRkq9H0hqLnElj9RdcKsEIvdOL+9AKAkOn0Z25XUObxrFfFVGozZHPUM4Rs6R3jX9f donv9w3IKDUlaKx/g4MlCVy2uyhJSX66xb6IdIQZxArjcnNkBmkeQn7eHmnPX7jc1nIS LLnA+JzFHYQjTbL5LmMwUnxxck2zLzPgsArGUK2VSrENkfMAN5T18AdW95FRcE+OrsgI xLF8uGMjQucZanXJoCRL22386N97yk+GWuoNr4jV+okJQ5rHggDqCcIalx1I3QDAOfrg IZj0VwVkZOIUgC3OkuXELLb/6jbPVjBN2ERA/1k/MlgVlhnhFM7NTy6dS99fvM702iNd E7wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=JetlJMBq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p13-20020a170902e74d00b001a1def4a046si14296315plf.314.2023.03.25.09.10.20; Sat, 25 Mar 2023 09:10:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ucw.cz header.s=gen1 header.b=JetlJMBq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ucw.cz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231989AbjCYQIs (ORCPT + 99 others); Sat, 25 Mar 2023 12:08:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230118AbjCYQIr (ORCPT ); Sat, 25 Mar 2023 12:08:47 -0400 Received: from jabberwock.ucw.cz (jabberwock.ucw.cz [46.255.230.98]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C9F1FF06; Sat, 25 Mar 2023 09:08:44 -0700 (PDT) Received: by jabberwock.ucw.cz (Postfix, from userid 1017) id 5D89D1C0AB2; Sat, 25 Mar 2023 17:08:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucw.cz; s=gen1; t=1679760523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Iu3sMDpb2cGCTRvieQtO3ixStP5OjjgHrhtfj3Yc0Rc=; b=JetlJMBqxPen7cCBeun33m7ML49bqtZowkmUygKG6oC8Xnv33vQ7Jm2ZCnEy9peHHooj/E HgDUjkG9NzY5+mzprr2BOpiSm6aKque252LvbvYgUazU10C1khnSxPDVg+tU0wwUlyG9P3 r8WfL4xZDpd7vhQPalKAack7X12amgU= Date: Sat, 25 Mar 2023 17:08:40 +0100 From: Pavel Machek To: Benjamin Tissoires Cc: Marcus Folkesson , Jonathan Corbet , Jiri Kosina , Linux Doc Mailing List , lkml , "open list:HID CORE LAYER" Subject: Re: [RESEND PATCH 1/2] HID: Add driver for RC Simulator Controllers Message-ID: <20230325160838.GB1820@bug> References: <20220822060936.769855-1-marcus.folkesson@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > +Many RC controllers is able to configure which stick goes to which channel. > > +This is also configurable in most simulators, so a matching is not necessary. While it is configurable, we should try to do the good job "by default". Configuring controllers can take hours, and it is not fun. > > +The driver is generating the following input event for on channels: > > + > > ++---------+----------------+ > > +| Channel | Event | > > ++=========+================+ > > +| 1 | ABS_Y | > > ++---------+----------------+ > > +| 2 | ABS_X | > > ++---------+----------------+ > > +| 3 | ABS_RY | > > ++---------+----------------+ > > +| 4 | ABS_RX | > > ++---------+----------------+ > > +| 5 | BTN_A | > > ++---------+----------------+ > > +| 6 | BTN_B | > > ++---------+----------------+ If one of these is normally used as throttle and rudder, it should be marked as such... User can then remap it if he does not like the mapping. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html