summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-03-21 14:50:39 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-04-09 10:40:47 +0200
commite7824db15814a86d2c1a547d8750962b7e58c7a9 (patch)
tree0b08ddc50a87443819b05aef8c1904dcb963d9c2 /ui
parent3dd2ca54fbec8928cca922dc8edc9a064d33f934 (diff)
downloadqemu-e7824db15814a86d2c1a547d8750962b7e58c7a9.tar.gz
sdl2: drop QEMU_KEY_BACKSPACE special case
Not needed, kbd_put_qcode_console() will handle that for us. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180321135041.15768-5-kraxel@redhat.com Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui')
-rw-r--r--ui/sdl2-input.c3
1 files changed, 0 insertions, 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;