From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D989C6FD1F for ; Sat, 25 Mar 2023 16:08:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232002AbjCYQIr (ORCPT ); Sat, 25 Mar 2023 12:08:47 -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) Precedence: bulk List-ID: X-Mailing-List: linux-input@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