Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1110113rwe; Thu, 25 Aug 2022 15:59:32 -0700 (PDT) X-Google-Smtp-Source: AA6agR7KkBxWFQclyX42VpNMsUcxXmiPV8hWDcfK/9syg0kRQhHh6rxhu8Y7LlTa81FJ/TWZRTtm X-Received: by 2002:a17:906:5a4b:b0:73c:1cb3:1479 with SMTP id my11-20020a1709065a4b00b0073c1cb31479mr3668032ejc.143.1661468372039; Thu, 25 Aug 2022 15:59:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661468372; cv=none; d=google.com; s=arc-20160816; b=piLsFQmejWECfhL6utYRtYBSWV32ze4y5kjp05mWZkFVeXPWd3IvaKER4vhyZXKBVZ Ie0/dHUeooabPeAoe/hMnQF/C/3N0zkCYgwGttz/MuFS1OweG7wypKgB+P311Hr+Pizv ETzzZ15MmbJn+Yyl+qlNGRP0/fY554a0Xr5PAR7RYzCPIKKnmAPlSgrhXW9OPRgFlJiK HZU+TuKvymmwJqkehv7TFkN3oh3jgNZXOjBb2cA2YYvG3f4REm4Jz1vtmKI89fLILeM0 5RBH6HbkBDPNwRZpy4LAXVEsRNPDqEIqTWdAUKwOzjqZCWWGfrHXX/OQiZf3WaK+opr6 V0LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fNEsgZ1Ns/g0prglNDQsUbLzaltKYTohJK8Yy9WMqdY=; b=w2MdldNjGlVWq6DDdEXB1nbfwySkaIX+RFrd8ZXm/YjOThkMZWM6dAz4O3tlmN2hsL Un7TFWBjwRfgZhSpMXBR9T+BFP6E2rt71QZxR5yv4e0zitwgQ3nypeF6kvtftngV0h71 x8o8JlPs/HNev24/R7BnzZO5LL3D5+aXjozH1QFFIyrx3GptQc3RKCRKOksDzfD9TxuU 6RL4OivVesyNT+peEUtkg1GT4nCfAJZdsL/9qKT6ImOgF8WphpKI+beHDpbH3PTXwbqe O4qsNHp0sj0mbcng5HGO1/uVQ8CFozmsUVD4CZ006Iqpzvm/u9IP+i14mbw8vbLFn95a i23Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yocom-org.20210112.gappssmtp.com header.s=20210112 header.b=TKL3A+eM; 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 ga32-20020a1709070c2000b0073d8663d88csi268437ejc.685.2022.08.25.15.59.06; Thu, 25 Aug 2022 15:59: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=@yocom-org.20210112.gappssmtp.com header.s=20210112 header.b=TKL3A+eM; 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 S244378AbiHYWYt (ORCPT + 99 others); Thu, 25 Aug 2022 18:24:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243195AbiHYWYj (ORCPT ); Thu, 25 Aug 2022 18:24:39 -0400 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65D94C5799 for ; Thu, 25 Aug 2022 15:24:38 -0700 (PDT) Received: by mail-pj1-x102f.google.com with SMTP id pm13so12702622pjb.5 for ; Thu, 25 Aug 2022 15:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yocom-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=fNEsgZ1Ns/g0prglNDQsUbLzaltKYTohJK8Yy9WMqdY=; b=TKL3A+eMM2fTtq6szDteKKLdwDi7eZV+SVsC26hkah3dD/l21vHMuPpRrQSbAzS2Be JfeS9XOpBSVZPzXNDT7/qD4DSeRqYElL72rBVZ00+lIp3rqcBE0biZGURsS5IvwmrIrQ /KlWwFu+r98vzqKSVMxoGNouh/FnuHWxmaSjjXrnY+LpqHt2nuzvZLhOgcGQz48Pt1+W a2Qiz4yNK0Xw9wp+D618awmXkENmwiVPRhUEPL/MLTnUbhGYsQIQTeFoyiYOrrklYhLO I/b4TcU00Bus4ew0DkAJEYfEkpHD3i8hfbX0ZiBBf2kbbTDL5cs+mO17CU8AJ7WM4xyP HF/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=fNEsgZ1Ns/g0prglNDQsUbLzaltKYTohJK8Yy9WMqdY=; b=SSyxK/cjQAryz/Aoi6+f5Qw/YqkrHWwEW6lNxdgRtjf8RBnNcBS9rZXIuDScQOLsXE DtAv3neH1IF9KvWkeRSwx17+Gy81nMaPc1nQIvNiWOTqIqMH/sjHOZepgrMs+10CwTJz gUFgJYmVWBllAY4hOIbhBJbmEooofnr+ZhtU7IuHCHbfjZ3vIj/fWMRLhIlC27xvlifE +c5+radpsBFgK4SCHX2sWtviOka1ejgPJzmKAy+4ROlTAu3Nq2hS5r99VasrPI5N9ayh 39O0iTu0HzKHKUsnWERfXmB5eFDmfItfEcSfGsYGujkIK5GFrxL3m+zThuumA3WvqVx8 vz2A== X-Gm-Message-State: ACgBeo3QjmbQp1i+2FXmASDIS23XA9M3gsSAEArvXNsGc1ihJZAag/DQ XMfzLWFRRI/kkII+nRUWLMbPRQ== X-Received: by 2002:a17:90a:ee96:b0:1fa:af87:95f9 with SMTP id i22-20020a17090aee9600b001faaf8795f9mr1128961pjz.243.1661466277948; Thu, 25 Aug 2022 15:24:37 -0700 (PDT) Received: from localhost.localdomain ([2601:600:8f80:973::5f]) by smtp.gmail.com with ESMTPSA id e23-20020a63db17000000b00429b6e6c539sm81820pgg.61.2022.08.25.15.24.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 15:24:37 -0700 (PDT) From: Nate Yocom To: dmitry.torokhov@gmail.com Cc: nate@yocom.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, hadess@hadess.net, benjamin.tissoires@redhat.com Subject: [PATCH v5 2/4] Input: joystick: xpad: Add ABS_PROFILE axis value to uapi Date: Thu, 25 Aug 2022 15:24:18 -0700 Message-Id: <20220825222420.6833-3-nate@yocom.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220825222420.6833-1-nate@yocom.org> References: <20220825222420.6833-1-nate@yocom.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=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 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 -- 2.30.2