From 54f9417fda346e110fca3c83b834b1c3b4e220db Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Mon, 30 Aug 2021 18:05:59 +0900 Subject: [PATCH] kbd: Catch different scancode from PrtSc key --- lib/kbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/kbd.c b/lib/kbd.c index 4811196b..7577fb40 100644 --- a/lib/kbd.c +++ b/lib/kbd.c @@ -405,7 +405,7 @@ int kbd_scancode(key_event_state_t * state, unsigned char c, key_event_t * event event->keycode = KEY_NUM_ENTER; event->key = '\n'; return 1; - case 0x2a: + case 0x37: event->keycode = KEY_PRINT_SCREEN; return 1; case 0x5D: