Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp3486980rwe; Mon, 29 Aug 2022 12:48:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR4tHPQ9/zs8A8LGQbaCzbqEyIwLFCITyOg5KH3se8tlekooqIoRwQq1ewit88O2fIxPCQWr X-Received: by 2002:a17:903:245:b0:16f:85be:f33b with SMTP id j5-20020a170903024500b0016f85bef33bmr17833914plh.96.1661802533000; Mon, 29 Aug 2022 12:48:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661802532; cv=none; d=google.com; s=arc-20160816; b=KLhHHKr53n7+gW1Mczf6Rzmj1wYgPfuI+8ITtgkWV8ppT4FBYdto4DeDzAQMKKqRXA /CwimPW7JQ8atNekQPRdb7Hvq6eidfOr9eWEj4J38FzkqET7V0io3cZScc/6LsxE0qfK vSqK1UWCHcfkrPqFaTbaqVJY9F7ess7xFq04/JMnHa52PHveaUrebsTeyl8LqdEEv2Ha YI+nKwIYedkM9U6a51FT7lOEJLOXZ56nXQpOfAtrrHD1qUac6XG3ZTE/1QwDv+t0utab uIZUsAwkWoPeUY8qsgn9gcW3+XHF5ssB+Z9fCPr2SFHBixy8HRdjsmslq+mgXoM/rZbi H5fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=i5bKUTrb+rmLcQzkpU6se5oAMu2l3FKdPS9MD2hRt6U=; b=e2eWM+5eoiQHTf0jIirSJIGwQCSjnXZ8VCi7o0EX76+JzjaMCYZnaynDzffCB5dyR/ 0tu5k5iz5NDFUjJiZRxv5+xuAPMT4slxIfBbom8w9+gt+cwCiIbzEuy4Y5h1gzWA+LEq NJQaQ2Qm6Ko4KmgTcd1+rPCG5ye6HfGLWAbWweJKJsxakQFQzqbIXuTGxfjMs2F1C5+8 P+TR5CqiutY7EdK8B0rn9prjmrA389gRHLGewvW2rvFjI82QXl8XA37d5ejEMWHuF+uC EbY8AYCEP5OMoAYSjVX9bKAh4ADED5XaHWwvRiVM8zeJ7TBPBKYLte4YDGyCPVj75jxH RBGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yocom-org.20210112.gappssmtp.com header.s=20210112 header.b=RDDWcuxD; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h22-20020a056a00219600b0053700ada3b5si65580pfi.359.2022.08.29.12.48.42; Mon, 29 Aug 2022 12:48:52 -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=@yocom-org.20210112.gappssmtp.com header.s=20210112 header.b=RDDWcuxD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229651AbiH2TID (ORCPT + 99 others); Mon, 29 Aug 2022 15:08:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229446AbiH2TIB (ORCPT ); Mon, 29 Aug 2022 15:08:01 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C4A227A77A for ; Mon, 29 Aug 2022 12:08:00 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id 145so8759519pfw.4 for ; Mon, 29 Aug 2022 12:08:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yocom-org.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc; bh=i5bKUTrb+rmLcQzkpU6se5oAMu2l3FKdPS9MD2hRt6U=; b=RDDWcuxD4oVbcRzclcJ3cIjOiFkzBfoPFqyO6YmocITJZOvLBBXwnecQ2zt5T9KBvK u12Q/lMA/BI6O6z/05quk4e3nBwfsbDStLt+SQT00tLIhzK2jLQqjMlY2cO04MMMF+8n c35Eu4b2p1XAMo9iLwWVR02ug67GlkTzHQntJVczws3EpasGJ3qxVHWaps0fvRT1r+mq K472D+bcAkNsbkmSWFqMbc+GttrC5qc8Fd4EnVSfjspVVeX+vz8RITPy3er+uhsiY5k5 oRFNI/jIkofCq9cTg281IXqLkcW4de67fNEk75F1ylPRoMS1xBkpD4+a2rBIkEmvxeWp TTWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc; bh=i5bKUTrb+rmLcQzkpU6se5oAMu2l3FKdPS9MD2hRt6U=; b=SPaxfV3beLqSQY8rIBGKg5lGZVnCPrxe8jskzLTk+kkjlOZjCtBgVITi0/hYqck4HG 1UCRGT8mo598LI1o7bpYjne+7J0yKmaW9EuBQvnGuINjwtRP9N/GnEsA2VOpWoLchciM lbrPOuOQj9EatAfHmd/MIJQyGn51Zih6l7fci/nMQU2RaYfkfrEODi7lIBQhRomJLbif /tLljI7ztSfUwF1pb8Ym8KkaDnpwOUSFbKQhK6VFF05dyCcCq4JWfPiMOX0u/4rYJH5U Kevg+3IDOhCVG8p3Qir+R23fKJU5mnRXNlQ/YIqdYWoVQvgnQmQL4NlKUXf0dDe+Uf8q FyOw== X-Gm-Message-State: ACgBeo2VXZpOLwpH+MX4eufvVLhwDx4qkVMF/NGyzeDkY9YRRtKm0W5y MWKo+YBgd8wfCWLW+OwmaoLkmA== X-Received: by 2002:a63:395:0:b0:42b:80a2:7ad2 with SMTP id 143-20020a630395000000b0042b80a27ad2mr13042872pgd.194.1661800080287; Mon, 29 Aug 2022 12:08:00 -0700 (PDT) Received: from ghaven-kernel ([2601:600:8f80:973::5f]) by smtp.gmail.com with ESMTPSA id 201-20020a6217d2000000b0052d50e14f1dsm7563069pfx.78.2022.08.29.12.07.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Aug 2022 12:07:59 -0700 (PDT) Date: Mon, 29 Aug 2022 12:07:58 -0700 From: Nate Yocom To: Bastien Nocera , dmitry.torokhov@gmail.com Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, benjamin.tissoires@redhat.com Subject: Re: [PATCH v5 2/4] Input: joystick: xpad: Add ABS_PROFILE axis value to uapi Message-ID: References: <20220825222420.6833-1-nate@yocom.org> <20220825222420.6833-3-nate@yocom.org> <3e48ef8d13337ce1c3ec68baffc612fde4740b0e.camel@hadess.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3e48ef8d13337ce1c3ec68baffc612fde4740b0e.camel@hadess.net> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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 On Sat, Aug 27, 2022 at 12:40:46PM +0200, Bastien Nocera wrote: > On Thu, 2022-08-25 at 15:24 -0700, Nate Yocom wrote: > > Add an ABS_PROFILE axis for input devices which need it, e.g. X-Box > > Adaptive Controller and X-Box Elite 2. > > --- > >  include/uapi/linux/input-event-codes.h | 1 + > >  1 file changed, 1 insertion(+) > > > > diff --git a/include/uapi/linux/input-event-codes.h > > b/include/uapi/linux/input-event-codes.h > > index dff8e7f17074..7ad931a32970 100644 > > --- a/include/uapi/linux/input-event-codes.h > > +++ b/include/uapi/linux/input-event-codes.h > > @@ -862,6 +862,7 @@ > >  #define ABS_TOOL_WIDTH         0x1c > >   > >  #define ABS_VOLUME             0x20 > > +#define ABS_PROFILE            0x21 > >   > >  #define ABS_MISC               0x28 > >   > > > You probably also want to add it to the absolutes array in > drivers/hid/hid-debug.c. doh, roger. > Again, you might want to wait for confirmation from Dmitry that this is > the right way to do this for the profiles. Makes sense. Dmitry?