Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp911444pxb; Thu, 17 Feb 2022 18:16:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+WD8TWa78o3IWkO9t1UgolO5jN64KzOmdiqhi8gQwhiS8UoKLVrRSmhyV35llMZ0UL7td X-Received: by 2002:a05:6a00:21c8:b0:4e1:69f6:1c23 with SMTP id t8-20020a056a0021c800b004e169f61c23mr5879612pfj.8.1645150578851; Thu, 17 Feb 2022 18:16:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645150578; cv=none; d=google.com; s=arc-20160816; b=tombBuMqAQIGubsO6K3fZxpS52tOJShpVkha3lF4s0iNrRmoBoPDHIW2Uq2UZCN9xi 7Hri22RrqNSMrbCh4Xpt/eKEeEkNHOIcI8XJtP/gnul722tsiMWrZSumhun49U+mrBLg t39gbM4z3dU4PfYDtWxVeE0BKhKFJj8M39E3VZIu+1nh/fBLra+nevFTkmpgzeYF5q+o si8d3gKcT59cjxgKU5YrTtVf0lGp1eNbZ0QsbxAYdCJMtv7ruWopPkI4GfMhffrvzq5Q silT9N9qJIgefeNMkcQmP49OQJqXU6qr/CFz4wevX7ux1TZzmUKjybL42nu8RL2Nvcxo IJLg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=kUV6YppsZ3UG2CdtFBHXsvqMZiblZaRSNB/72uNfm3Y=; b=my3edWxpTZkK/uXpPNEkXc/a6v3G5/IBwAL0Mb5XXHQfNcF/F3GLHqw2LWcIURwyhY Ps3dV3s2y0s6QoyTO09310Eomx1JLcfeHmZAxems/hSGaLk3J7CBV/AzhuzGYSiUXOLB z1ftKV0a6uM0ZFcXNgzMR1zSO+JfUROmH1bYd4LZArSulQMTTfSetdLekliZqhAosNt+ My9+6CmSertLQOmxYNmUeQuLGQ+NY1DDrOTsU5KrQxmstY/BogGT7jJyfgm7yMju07b3 rh4NRQ5iog4x5M2X0pS0WrV+fBzqpW2aL8WS/V+fE8DjS/9hs2Mt3eoeICcOBJCeS+Lc TZsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nggKEVz4; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id j15si1380754pfj.338.2022.02.17.18.16.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 18:16:18 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nggKEVz4; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6D84A25DA4E; Thu, 17 Feb 2022 18:16:17 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231479AbiBRCQ0 (ORCPT + 99 others); Thu, 17 Feb 2022 21:16:26 -0500 Received: from gmail-smtp-in.l.google.com ([23.128.96.19]:34454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231474AbiBRCQZ (ORCPT ); Thu, 17 Feb 2022 21:16:25 -0500 Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5071F25B6DF for ; Thu, 17 Feb 2022 18:16:10 -0800 (PST) Received: by mail-pf1-x429.google.com with SMTP id d17so1229343pfl.0 for ; Thu, 17 Feb 2022 18:16:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kUV6YppsZ3UG2CdtFBHXsvqMZiblZaRSNB/72uNfm3Y=; b=nggKEVz4f2QZldXOYAmoCF/pfMUoWO/BVQbfFMGjNRjY3E6jVx/SGOadU+VUPNPfLI pIedQHrmBJS3pDPSlP66KflV4SjvwEft5tdCDncSTRp07XpiH6X4wgdQVFyQ57M2lFQy wr8+WcWZSplFvgAZ87DVEDNZotO8Qe/hDF8k8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kUV6YppsZ3UG2CdtFBHXsvqMZiblZaRSNB/72uNfm3Y=; b=HeeCX/inR2jbp+/5Sa1xYUmeKu3DfSFNsJWXsDYWI3BSkOidYI1J5kvkODSRqiVLGK 32sa29DMqP3sVK1pyv1OAkAkapxCpuyNDa/qPjTJ2Foh+NYVoi5wDWPa/fQq8Pm4JFka AVn54sQ2Hkxl3GhaLvuwVdMca9IosTXJsgcd0D16nbi9W+A4sDwGHHGxrmGCcnrr0CQ2 BGbkGo7qVmO10EPs6S7pYHjwRnEobzXuiNVVZkhMQ0Z5ezsg+AfZZFGm7aI7R47creXk UcfpdoRphu6XyFhUONDEZWm9NaTTPjkJtTOl+UGrBbW5oBMes0aZ0N4oFrBq2mKlE+fu SSCA== X-Gm-Message-State: AOAM531fx5k7xO2XV0+qUuxM52jZQWpF+pkUTDrymxtWNazm+NjSxKXP 6wnT/m7vfaXGPdYP4IjXXLKLvMJv1kb+5Tfv X-Received: by 2002:aa7:88d0:0:b0:4c2:6f06:8c70 with SMTP id k16-20020aa788d0000000b004c26f068c70mr5683242pff.48.1645150569720; Thu, 17 Feb 2022 18:16:09 -0800 (PST) Received: from wmahon.c.googlers.com.com (218.180.124.34.bc.googleusercontent.com. [34.124.180.218]) by smtp.gmail.com with ESMTPSA id c9sm903342pfv.70.2022.02.17.18.16.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 18:16:09 -0800 (PST) From: William Mahon X-Google-Original-From: William Mahon To: LKML Cc: William Mahon , Benjamin Tissoires , Jiri Kosina , linux-input@vger.kernel.org Subject: [PATCH] HID: Add KEY_DASHBOARD usage code Date: Fri, 18 Feb 2022 02:16:00 +0000 Message-Id: <20220218021551.1.I3a7746ad05d270161a18334ae06e3b6db1a1d339@changeid> X-Mailer: git-send-email 2.35.1.473.g83b2b277ed-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 This patch maps the 0x0c/0x2a2 usage code to KEY_DASHBOARD. Signed-off-by: William Mahon --- drivers/hid/hid-input.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index eccd89b5ea9f..de738927565c 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c @@ -1162,6 +1162,8 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel case 0x29d: map_key_clear(KEY_KBD_LAYOUT_NEXT); break; + case 0x2a2: map_key_clear(KEY_DASHBOARD); break; + case 0x2c7: map_key_clear(KEY_KBDINPUTASSIST_PREV); break; case 0x2c8: map_key_clear(KEY_KBDINPUTASSIST_NEXT); break; case 0x2c9: map_key_clear(KEY_KBDINPUTASSIST_PREVGROUP); break; -- 2.35.1.473.g83b2b277ed-goog