diff mbox series

Input: libps2 - add support for lenovo xiaoxin keyboard

Message ID 20230227050858.21596-1-tangmeng@uniontech.com
State New
Headers show
Series Input: libps2 - add support for lenovo xiaoxin keyboard | expand

Commit Message

Meng Tang Feb. 27, 2023, 5:08 a.m. UTC
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 mbox series

Patch

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;