Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp788802pxb; Tue, 12 Apr 2022 13:29:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz4nROGfXvno9KS0oXKJ0jM6wJmjXW+jsnveGr+9VddHYfWmToCDwwmSQq/2Xz948wgPQfr X-Received: by 2002:a05:6a00:124f:b0:4fb:37ad:16d3 with SMTP id u15-20020a056a00124f00b004fb37ad16d3mr6383868pfi.14.1649795380724; Tue, 12 Apr 2022 13:29:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649795380; cv=none; d=google.com; s=arc-20160816; b=Sid0SG4sgy7RdzJZxjFMisTVsTkmvfzyjl8r0uOPw7c9DWCNm1+rLxsSAm0QS/YOYU kb5+b+yuyqZT2mA1TyRRGpQV0dkyYxo4iWnb1lctqZSl2ijNqYSVmDNtomIrW7PE8nd9 kqSJIXpsVOCYK6gIuZt8l7xHXm2XQKkZgO1ej/eHG+88b/kKvKFYYyIRsCYxWLGY3Xdh dKpEQbdsXN333QxsFdb9mu29Ls6UZZZto9YgVbR6Kj5pD/FQEC1kV8So8jN+J8UrYGs3 yBJKL24b/SfBd/sdMk0sxnCEIaXhWVHAM2h+ena3dGFRT9XPFCkFhrLOhgY98J5/G3dJ 18yQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-signature; bh=aRTApUSPxPOLZop5S/TZELqtxAg3W/UHUjXVwD/lHLM=; b=AfDe3JQcROSk0Uiwmk80wnDnShBDwUKk5eMOmyK5O+oN9s6OOuBslNgFFx0eojT82j RSu18uAN0NcJOgEbs1Fnwj7Cyiv2LhsOjC8nr7KUtH4Y79E1BLo3vbCcLsWCLG/WtbsA 6yJx0VNkqKMm2brEVLcMPw+fSjr1yZ0J5cUBMaTFywnmeAFsNrQqQWqhkoKVUdWqAg20 fSg95ft1xn2T1+ihvveSZb4n+myBEuz3QDrdSa9qK0lOb0aDJojewhLQkOF68Kf2hDdA HJLGk1BtKLKco8/YC5jc4a7pKwaXlsDjDocWOzjcnAynuHC0x1rwx43egpKIsY6HgbA3 waNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@undef.tools header.s=fm1 header.b=RR5rYINf; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=afgmwmEB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=undef.tools Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id e10-20020a631e0a000000b003823f33cdd2si3640825pge.209.2022.04.12.13.29.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 13:29:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@undef.tools header.s=fm1 header.b=RR5rYINf; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=afgmwmEB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=undef.tools Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 795F4972AD; Tue, 12 Apr 2022 13:07:58 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346219AbiDLLmX (ORCPT + 99 others); Tue, 12 Apr 2022 07:42:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356155AbiDLLjt (ORCPT ); Tue, 12 Apr 2022 07:39:49 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04EAB5AA5F; Tue, 12 Apr 2022 03:20:37 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 0FFED3201F82; Tue, 12 Apr 2022 06:20:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 12 Apr 2022 06:20:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=undef.tools; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1649758833; x= 1649845233; bh=aRTApUSPxPOLZop5S/TZELqtxAg3W/UHUjXVwD/lHLM=; b=R R5rYINfZ0nps4BJkw16j8qEW+Mrpac5C0AcE8g6ztszRuzlpkf6xRrKhuNXdCr9l dX+cGVE4H+Dz6kWo68cr8+qWx01qjMI0j/VldYYQTKaN6WnHNLqel7VFf27FPVyX AGJY2ipZYg7OJF5UkLWjqUBlDRDq6oo7MfOx0SUzIrPKhGaUAE3Wfo4GaWIF/SWZ sTHhBFR5c4zhyaoXwAXvZpp6Odkj6zw7YDeBWGRxLER8xmATblZdsJsbYfhkRKSF Ou5J8sVVd8Al9xAC2CFJt9aJeyGV0L/HyKmHDqE/9+pS0OSRQq+cA+1WJQpJ1Q19 9PPbsjbuKKt+F1j2Oi/WQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1649758833; x=1649845233; bh=aRTApUSPxPOLZ op5S/TZELqtxAg3W/UHUjXVwD/lHLM=; b=afgmwmEBa0E/skokOknejBLFq8PoO u7YabiKT6Ox7ixA/5ot9FX7wsZ1+oS4wYTSiGGg5TitU0SR9ZFg6ZVdL0Ipq5nV1 DknfCz/WUcpytUgh4SFb8kBjDGeqr+F0LFLsYhEiTEJRx7pw7LrnqSGxB/s3na5w o3pn9ufAC/s83FdMlkWgxGYnIUVTu5QR+QNnPCCcbJlraV7vFOJDQi4IbO21yZUS itd5F3kYF3PFYf09pvOMCePoQ/ZVZ7QDg/KyZSjuE7B+GV1U1OMzz7wGU3tB6lod jcATYcA7NSo5pKYhI4FeFpI8KkKB7/zUproAdjq7nBGaqDKkv89wGrgEw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudekkedgvdehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomheplfgrrhhr rghhuceokhgvrhhnvghlsehunhguvghfrdhtohholhhsqeenucggtffrrghtthgvrhhnpe dvveekhffgtdduveekgeefiefguedujefhudfhvdfhffehffdtgfdutdetjeevffenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkvghrnhgvlh esuhhnuggvfhdrthhoohhlsh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 12 Apr 2022 06:20:29 -0400 (EDT) Message-ID: Date: Tue, 12 Apr 2022 20:20:24 +1000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 3/5] Input: pinephone-keyboard - Build in the default keymap Content-Language: en-US To: Samuel Holland , Dmitry Torokhov , linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org, linux-i2c@vger.kernel.org, Wolfram Sang , Ondrej Jirman References: <20220129230043.12422-1-samuel@sholland.org> <20220129230043.12422-4-samuel@sholland.org> From: Jarrah In-Reply-To: <20220129230043.12422-4-samuel@sholland.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_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 On 1/30/22 10:00, Samuel Holland wrote: > + > +static const uint32_t ppkb_default_fn_keymap[] = { > + KEY(0, 0, KEY_FN_ESC), > + KEY(0, 1, KEY_F1), > + KEY(0, 2, KEY_F2), > + KEY(0, 3, KEY_F3), > + KEY(0, 4, KEY_F4), > + KEY(0, 5, KEY_F5), > + KEY(0, 6, KEY_F6), > + KEY(0, 7, KEY_F7), > + KEY(0, 8, KEY_F8), > + KEY(0, 9, KEY_F9), > + KEY(0, 10, KEY_F10), > + KEY(0, 11, KEY_DELETE), > + > + KEY(2, 0, KEY_SYSRQ), > + KEY(2, 10, KEY_INSERT), > + The driver currently being patched into most distros supporting the keyboard exposes the symbols printed on the keyboard rather than the F* keys on the function layer. While I agree than exposing function keys on the Fn layer is more logical, in practice running this patch for a day I've found it's far more useful to have quick access to the standard set of symbols (such as | and -) than to have the function keys. Would it be possible to either set the default back to symbols or expose another layer (potentially under the "pine" key)? An alternative solution proposed on the Mobian issue for this was to add a module option, allowing these to be switched at runtime rather than compile time.