[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/5] sdl2: drop dead code
From: |
Gerd Hoffmann |
Subject: |
[Qemu-devel] [PATCH 5/5] sdl2: drop dead code |
Date: |
Wed, 21 Mar 2018 14:50:40 +0100 |
Leftover from sdl1 -> sdl2 port.
Signed-off-by: Gerd Hoffmann <address@hidden>
---
ui/sdl2-input.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/ui/sdl2-input.c b/ui/sdl2-input.c
index d46411c474..1378b63dd9 100644
--- a/ui/sdl2-input.c
+++ b/ui/sdl2-input.c
@@ -62,14 +62,6 @@ void sdl2_process_key(struct sdl2_console *scon,
/* modifier state tracking */
switch (ev->keysym.scancode) {
-#if 0
- case SDL_SCANCODE_NUMLOCKCLEAR:
- case SDL_SCANCODE_CAPSLOCK:
- /* SDL does not send the key up event, so we generate it */
- qemu_input_event_send_key_qcode(con, qcode, true);
- qemu_input_event_send_key_qcode(con, qcode, false);
- return;
-#endif
case SDL_SCANCODE_LCTRL:
case SDL_SCANCODE_LSHIFT:
case SDL_SCANCODE_LALT:
--
2.9.3