Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3699287imu; Fri, 18 Jan 2019 15:33:23 -0800 (PST) X-Google-Smtp-Source: ALg8bN4DgEmVR5u/33vDvMXgDCFD0T1AICLG1JfReluNVrdk+xgIaJ5CqkEphIneQ8ZNO052G8Na X-Received: by 2002:a63:83c1:: with SMTP id h184mr19530869pge.437.1547854403777; Fri, 18 Jan 2019 15:33:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547854403; cv=none; d=google.com; s=arc-20160816; b=Pn9AR5voPz3PTkDSMvmpzWbM+O4uIPOEbOOuZ9ptxtu8wVvZinj6sl/10YuJl3g8J5 FkiW5MmdF6kDxIMabwdzidgN3zT4606g0O71HDKmrKtOXGvIiMFRfPTPtLA3HPeZmnZ8 34nKOWOLasfdc5KMR0Nqa2r7SvQbAq5/2OmwZt6UtyY2vKwRRqhC6/k9hS9I6KuTa0SK JzJ+50OETdAgi6l1wJpcH/YR1ZjHraVQXDPoxNYKAupPZt7jAiWDdTgAYdszTp6JSuzs EJ7XC+zrxXbnVxvgRYQgvB4m1NZK7rGrmlqG5qXDB1PHrtBTRrow1qyuTmDpT52ReWV8 sVsw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ApgiXS2bVmCTJmZTYf7Edh2FUNbmB207b8t5V0zCeQE=; b=WG08ew3KzcubV1iQWwbj+UH9E72iuJ+8/VYyU5gHsZZFNQsOtEFtZOd7526bRZsyD6 rgmHtPGHFLpl+OQPaB4UxbFow67lBHBzQO/QZR1QJMw5JnyA1ZLhkSSiAgRG7IyGmNam AUVeTDgd9XAEGLiChi/jqRSCrADy4ghBhHNT28CW+5f8a0mojZHI0M9PgnWyMy5UER9f Xz/B+siBXvplTmu1yYuh2B6MP1GJJ8L/1QPIaRM2xUlwvLA7KTY4xIOF5LAPZpronUsJ W12/pJaJDH1AeX5BGxpTQKIwwKT6XZxKUzAReiGw2hVBlYyGccDAig709QOK2g/k/8IG aHZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aMV1bh4S; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a34si5658499pgb.458.2019.01.18.15.33.08; Fri, 18 Jan 2019 15:33:23 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=aMV1bh4S; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730242AbfARXaz (ORCPT + 99 others); Fri, 18 Jan 2019 18:30:55 -0500 Received: from mail-pl1-f196.google.com ([209.85.214.196]:45613 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730194AbfARXap (ORCPT ); Fri, 18 Jan 2019 18:30:45 -0500 Received: by mail-pl1-f196.google.com with SMTP id a14so6972931plm.12; Fri, 18 Jan 2019 15:30:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ApgiXS2bVmCTJmZTYf7Edh2FUNbmB207b8t5V0zCeQE=; b=aMV1bh4S94H+5vfO/QEBUO5NUa0R9FBiBnv16AESmgBVcblVmbhZw1ryxrJTr3IB94 chYVLM1Pb1eh7PYqxI74IzqpXxJvUt7kALp15gAOAxWBD265FuF2QJFwf2jUPwe1LfUL nG0SlKliR8NIG+UeCUR8eBZRDf2MAwr4c99Ckp8zz81mqtqNGZWuRhzFW0L6b2S4QBRL RTY+noSNDuC5kIeQ3EKk4PoDxVvuKxsq28q0+8eaQw0yvfE4+HT5iu3PMyEvV9esNfZM 4MnmIDbVdfZGRph1OgHXFRT5y9QELv+h5RmbaVQoG7P2ZC/u9WNrsQNT+U8paqIE73l6 /pdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ApgiXS2bVmCTJmZTYf7Edh2FUNbmB207b8t5V0zCeQE=; b=Z1INa2dn563JhDBAeL+P1UHEW6hRL1aRfx7r/MpMpVEVYuPJv6NT1pLhYUGQRE0JYn E5rZtvyPcOn6wiD/JkTlYziPs4syKqSUWqebXOctvr3SafAFt2MXhFzTLcYSR3KKCWAw f7GkhzhMH73YRNkClm5ku/U5Riqe1/Isdjpz5aUU9iu4i0KQsKfGI8xxWDOM+jN7R2Ej 0pkRvSloAqq3MnZJL5MAbszfpbGc8NhJMn+VI76jh13ULy6iKpUT/pSX0dLKbtKEsPrU bO/x7I4zTUYP4lHrewlWJNsQBUM3YyUHFRz+yITKKtOxXDvKhSXjociIBvAeAnmb21GF TyUg== X-Gm-Message-State: AJcUukfH+/aQdpPHQ4AeqUkcc3XLr8YRKzMuuy6Xlr3P32ldMZWyNAKV zaRsozcV2PHClkn10zM3wN4= X-Received: by 2002:a17:902:2a66:: with SMTP id i93mr20642057plb.113.1547854244932; Fri, 18 Jan 2019 15:30:44 -0800 (PST) Received: from dtor-ws.mtv.corp.google.com ([2620:15c:202:201:3adc:b08c:7acc:b325]) by smtp.gmail.com with ESMTPSA id f6sm11857163pfg.188.2019.01.18.15.30.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Jan 2019 15:30:44 -0800 (PST) From: Dmitry Torokhov To: Jiri Kosina , Benjamin Tissoires Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/7] HID: input: add mapping for "Full Screen" key Date: Fri, 18 Jan 2019 15:30:36 -0800 Message-Id: <20190118233037.87318-6-dmitry.torokhov@gmail.com> X-Mailer: git-send-email 2.20.1.321.g9e740568ce-goog In-Reply-To: <20190118233037.87318-1-dmitry.torokhov@gmail.com> References: <20190118233037.87318-1-dmitry.torokhov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org According to HUT 1.12 usage 0x232 from the consumer page is reserved for switching application between full screen and windowed mode, so let's add the mapping. Signed-off-by: Dmitry Torokhov --- This needs the new key definition. 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 cebe8a8cce2e..ecb1b6f26853 100644 --- a/drivers/hid/hid-input.c +++ b/drivers/hid/hid-input.c @@ -1014,6 +1014,7 @@ static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel case 0x22d: map_key_clear(KEY_ZOOMIN); break; case 0x22e: map_key_clear(KEY_ZOOMOUT); break; case 0x22f: map_key_clear(KEY_ZOOMRESET); break; + case 0x232: map_key_clear(KEY_FULL_SCREEN); break; case 0x233: map_key_clear(KEY_SCROLLUP); break; case 0x234: map_key_clear(KEY_SCROLLDOWN); break; case 0x238: map_rel(REL_HWHEEL); break; -- 2.20.1.321.g9e740568ce-goog