Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2534810yba; Mon, 6 May 2019 07:38:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqzrKUid1Yo57zGWZ8Jp8j6XOEVGpUewZe/EKhK2dR+9Ll1wjYeFGAGrOUvft37mHs1HT5F+ X-Received: by 2002:aa7:9203:: with SMTP id 3mr1575341pfo.123.1557153490538; Mon, 06 May 2019 07:38:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557153490; cv=none; d=google.com; s=arc-20160816; b=WJj+F9I+kcLIXJegCFRQRHmWjF/JPevEub82f8u7k7CXpKV3bMljFgAbksaN9LV2oK oJ/Ltbo/rv1RSjwuC5P9aQtXppXPZ2XPCaTBIsVMxx+XdKmPYm0gUOKsFWipzq1i9YFI DZN3F/xJok1HIuXcJ0bqTIs7Xj0mj/loGHGYW5iNvQpN58kCJSXVHQ22xauZDFfaBXG3 p+msYhOM1Am2eWCFCTrCJQZqFFoeE+ouaoQQIGIcuagiMbfmDlnrB+OOZHVwXIwCCr0C 7xkCoWXj6k6jW7cgv3fWNVbqYwlHHl5DjXA764lc8YmoKjOSwgYKdJQ1DIftPXZzims5 BEgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=F+6/9mWTD+azRb2FLGy8LeEUucVAn9OOIin3/FixhA0=; b=z253ByV1nMDLHSET6Xifk4Dn5c/ziDXS4Ywk85u2zfEW7QdEw7luuz7cVHKqjBONqi ccs9dfKwIxT/pI5V8eedkpuY1ZDKSDnGeGTNNOzW8JL+dh0UeKHz51E84lN9NbJwTnJw 6iVKvkzEKf+AKGEq1YdtV7p4BHgsiQ4j1rmKMxgS3JqXXtMZyV79TEOVDr/aRy7WdpuP sSuBpu7EbRms8kczZ4DdBLQfuhE/7Gh9QNohtl0VqeIxkiIOKOliNRCnpytqdQpOKhwm ZaOarMLaz39JJmku7QvUQedIpptUx6zhbLOjujvNk5dlJ+jwdoYblbfrOOmXDpFRI5wf lxnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="bmCU/qlX"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k9si15824019pgs.101.2019.05.06.07.37.54; Mon, 06 May 2019 07:38:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="bmCU/qlX"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727091AbfEFOgH (ORCPT + 99 others); Mon, 6 May 2019 10:36:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:56326 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727080AbfEFOgD (ORCPT ); Mon, 6 May 2019 10:36:03 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AFE3821479; Mon, 6 May 2019 14:36:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1557153363; bh=FJitW7mp+HLHTOIXtA5/0CxI/c+h9quKMYWP1/nyVyI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bmCU/qlX6FdkuskaLGhsgQffQe+2JCAekzA9A7+2X9hdjFY6ab1ks9Xpkjazpn6nV OuY4F44wmLiIv8SwfxZYr1V/j4QhigMSDuCDLBaobK7FBEzhT9ul6/SbEQfBiC12ws V3JuM2NRtwqroNkWjiSSpbw5UJx+3D4fMFRJPURE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dmitry Torokhov , Jiri Kosina , "Sasha Levin (Microsoft)" Subject: [PATCH 5.0 061/122] HID: input: add mapping for Assistant key Date: Mon, 6 May 2019 16:31:59 +0200 Message-Id: <20190506143100.462503352@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190506143054.670334917@linuxfoundation.org> References: <20190506143054.670334917@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Upstream commit ce856634af8cda3490947df8ac1ef5843e6356af ] According to HUTRR89 usage 0x1cb from the consumer page was assigned to allow launching desktop-aware assistant application, so let's add the mapping. Signed-off-by: Dmitry Torokhov Signed-off-by: Jiri Kosina Signed-off-by: Sasha Levin (Microsoft) --- drivers/hid/hid-input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hid/hid-input.c b/drivers/hid/hid-input.c index 59a5608b8dc0..ff92a7b2fc89 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c @@ -995,6 +995,7 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel case 0x1b8: map_key_clear(KEY_VIDEO); break; case 0x1bc: map_key_clear(KEY_MESSENGER); break; case 0x1bd: map_key_clear(KEY_INFO); break; + case 0x1cb: map_key_clear(KEY_ASSISTANT); break; case 0x201: map_key_clear(KEY_NEW); break; case 0x202: map_key_clear(KEY_OPEN); break; case 0x203: map_key_clear(KEY_CLOSE); break; -- 2.20.1