提交 e7824db1 编写于 作者: G Gerd Hoffmann

sdl2: drop QEMU_KEY_BACKSPACE special case

Not needed, kbd_put_qcode_console() will handle that for us.
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
Message-id: 20180321135041.15768-5-kraxel@redhat.com
Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
上级 3dd2ca54
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册