linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] HID: apple: Add "GANSS" to the non-Apple list
@ 2022-07-21 14:34 Hilton Chain
  2022-07-22 13:05 ` Jiri Kosina
  0 siblings, 1 reply; 3+ messages in thread
From: Hilton Chain @ 2022-07-21 14:34 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Benjamin Tissoires, José Expósito, linux-input, linux-kernel

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 <hako@ultrarare.space>
---
 drivers/hid/hid-apple.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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)

base-commit: a0a05054583fed17f522172e101594f1ff265463
-- 
2.37.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] HID: apple: Add "GANSS" to the non-Apple list
  2022-07-21 14:34 [PATCH] HID: apple: Add "GANSS" to the non-Apple list Hilton Chain
@ 2022-07-22 13:05 ` Jiri Kosina
  0 siblings, 0 replies; 3+ messages in thread
From: Jiri Kosina @ 2022-07-22 13:05 UTC (permalink / raw)
  To: Hilton Chain
  Cc: Benjamin Tissoires, José Expósito, linux-input, linux-kernel

On Thu, 21 Jul 2022, Hilton Chain wrote:

> 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 <hako@ultrarare.space>
> ---
>  drivers/hid/hid-apple.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> 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)

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] HID: apple: Add "GANSS" to the non-Apple list
@ 2022-07-21 14:34 Hilton Chain
  0 siblings, 0 replies; 3+ messages in thread
From: Hilton Chain @ 2022-07-21 14:34 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Benjamin Tissoires, José Expósito, linux-input, linux-kernel

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 <hako@ultrarare.space>
---
 drivers/hid/hid-apple.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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)

base-commit: a0a05054583fed17f522172e101594f1ff265463
-- 
2.37.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-22 13:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-21 14:34 [PATCH] HID: apple: Add "GANSS" to the non-Apple list Hilton Chain
2022-07-22 13:05 ` Jiri Kosina
2022-07-21 14:34 Hilton Chain

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).