* [PATCH] Input: libps2 - add support for lenovo xiaoxin keyboard
@ 2023-02-27 5:08 Meng Tang
0 siblings, 0 replies; only message in thread
From: Meng Tang @ 2023-02-27 5:08 UTC (permalink / raw)
To: dmitry.torokhov, akpm, glider; +Cc: linux-input, linux-kernel, Meng Tang
Modified keyboard_ids in function ps2_is_keyboard_id
add 0x83 for Lenovo Xiaoxin keyboard
Signed-off-by: Meng Tang <tangmeng@uniontech.com>
---
drivers/input/serio/libps2.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/input/serio/libps2.c b/drivers/input/serio/libps2.c
index 3e19344eda93..84f366846cf8 100644
--- a/drivers/input/serio/libps2.c
+++ b/drivers/input/serio/libps2.c
@@ -156,6 +156,7 @@ bool ps2_is_keyboard_id(u8 id_byte)
0x5d, /* Trust keyboard */
0x60, /* NMB SGI keyboard, translated */
0x47, /* NMB SGI keyboard */
+ 0x83, /* Lenovo Xiaoxin keyboard */
};
return memchr(keyboard_ids, id_byte, sizeof(keyboard_ids)) != NULL;
--
2.20.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-27 5:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-27 5:08 [PATCH] Input: libps2 - add support for lenovo xiaoxin keyboard Meng Tang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox