From patchwork Thu Jul 21 14:34:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hilton Chain X-Patchwork-Id: 592667 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85AA8C43334 for ; Thu, 21 Jul 2022 14:56:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232213AbiGUO4k (ORCPT ); Thu, 21 Jul 2022 10:56:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230248AbiGUO4k (ORCPT ); Thu, 21 Jul 2022 10:56:40 -0400 X-Greylist: delayed 254 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 21 Jul 2022 07:56:38 PDT Received: from mail.boiledscript.com (mail.boiledscript.com [144.168.59.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0C38D49; Thu, 21 Jul 2022 07:56:38 -0700 (PDT) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1658414932; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=WTkPvBNLDrnyNYrtfpFg5lgdjoVZlrQg0/eORua9JR8=; b=xe23SRSbcTvq/CT0Q13ph/5wjy7GZxDRFRJQlS8k2kOzHn08N3gcCAI1Eq41MoSD4oral7 aG7lIHRSEciqS6iOrHpxiSQO3zvgfSBtpLT2bnGgL7/J8EoMT+dqVbR0lM1376E8moVKir aFvmmGlOo4CC1aJpl8tm9LHXmulpXF3wBNQIbgnGxcidPaDGDU8yXtPOq8J16MNwd9/hs+ P+djwN5HlTy38Ok5p9/dkTGCGcHsC2H6lhRmAPTUhy8P5oOBn/pLKfF7nrT4J/vuq176Jb A+Bum4G71veYBa6mzvvUeszmJTv37AqbSoCERPbYmS5ETWP8F9cuc0QkdYM5Ig== From: Hilton Chain To: Jiri Kosina Cc: Benjamin Tissoires , =?iso-8859-1?q?Jos?= =?iso-8859-1?q?=E9_Exp=F3sito?= , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] HID: apple: Add "GANSS" to the non-Apple list Date: Thu, 21 Jul 2022 22:34:23 +0800 MIME-Version: 1.0 X-Spamd-Bar: ++ Authentication-Results: mail.boiledscript.com; auth=pass smtp.mailfrom=hako@ultrarare.space Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org While using the name "SONiX USB DEVICE" for wired mode, my GANSS keyboard uses "GANSS" for bluetooth mode as well, so adding this to the list. Signed-off-by: Hilton Chain --- drivers/hid/hid-apple.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) base-commit: a0a05054583fed17f522172e101594f1ff265463 diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c index 7fbde58e1219..6970797cdc56 100644 --- a/drivers/hid/hid-apple.c +++ b/drivers/hid/hid-apple.c @@ -320,7 +320,8 @@ static const struct apple_key_translation swapped_fn_leftctrl_keys[] = { static const struct apple_non_apple_keyboard non_apple_keyboards[] = { { "SONiX USB DEVICE" }, { "Keychron" }, - { "AONE" } + { "AONE" }, + { "GANSS" } }; static bool apple_is_non_apple_keyboard(struct hid_device *hdev)