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: 592262 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 27378C433EF for ; Thu, 21 Jul 2022 15:01:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229763AbiGUPBk (ORCPT ); Thu, 21 Jul 2022 11:01:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231278AbiGUPBj (ORCPT ); Thu, 21 Jul 2022 11:01:39 -0400 Received: from mail.boiledscript.com (mail.boiledscript.com [144.168.59.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D35767A50E; Thu, 21 Jul 2022 08:01:38 -0700 (PDT) Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1658415143; 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=WVHazqJmhEgSRqQscIcJxdzVwXsMW0O2cxKQrItUOUPR/s2jiTDIwvXog5vP01q4eaTCSG C68A+k1iHSgySDlRN9/ZtSMnoL5ySSn82ETdP6NrnuiBd/Ny8AoUfzHuiRyThUjSUWeWEE jP8xWntNtcWQoNwU5mH7CNqK+Xto9LSKXvKcS3QIwyfQ+iQcaokdZm0+7t2rGD84a5fYPs FF+SOMjBsvXO9HEl1Wtq4JRTNJVE0k2zeIL9+hW+GXTijcipnUahpkjWcGAUQ93IoYeiCd pwsuQheaEyKo1WnLIxqyJ6Rx+fWOMfdoEdmffszdMtBRFg0h+7HVpUDltxJcfQ== 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)