summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-03-21 14:50:40 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-04-09 10:40:47 +0200
commit1458da9131c39ca99699b521436d6ce72d7c7981 (patch)
tree1903799c63745bf62a80996e2145044e5e0b334e /ui
parente7824db15814a86d2c1a547d8750962b7e58c7a9 (diff)
downloadqemu-1458da9131c39ca99699b521436d6ce72d7c7981.tar.gz
sdl2: drop dead code
Leftover from sdl1 -> sdl2 port. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180321135041.15768-6-kraxel@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/sdl2-input.c8
1 files changed, 0 insertions, 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: