sdl2: drop QEMU_KEY_BACKSPACE special case
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 21 Mar 2018 13:50:39 +0000 (14:50 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 9 Apr 2018 08:40:47 +0000 (10:40 +0200)
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>
ui/sdl2-input.c

index 62c2b58ef00b07dad24e86423d8016c5f13f804b..d46411c474cc9333eca7562342ca1e0cadee6a96 100644 (file)
@@ -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;