From e7824db15814a86d2c1a547d8750962b7e58c7a9 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 21 Mar 2018 14:50:39 +0100 Subject: sdl2: drop QEMU_KEY_BACKSPACE special case Not needed, kbd_put_qcode_console() will handle that for us. Signed-off-by: Gerd Hoffmann Message-id: 20180321135041.15768-5-kraxel@redhat.com Signed-off-by: Gerd Hoffmann --- ui/sdl2-input.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/ui/sdl2-input.c b/ui/sdl2-input.c index 62c2b58ef0..d46411c474 100644 --- a/ui/sdl2-input.c +++ b/ui/sdl2-input.c @@ -97,9 +97,6 @@ void sdl2_process_key(struct sdl2_console *scon, case SDL_SCANCODE_RETURN: kbd_put_keysym_console(con, '\n'); break; - case SDL_SCANCODE_BACKSPACE: - kbd_put_keysym_console(con, QEMU_KEY_BACKSPACE); - break; default: kbd_put_qcode_console(con, qcode, ctrl); break; -- cgit v1.2.3