]> Git Repo - qemu.git/commitdiff
sdl2: drop qemu_input_event_send_key_qcode call
authorGerd Hoffmann <[email protected]>
Fri, 8 Feb 2019 07:27:44 +0000 (08:27 +0100)
committerGerd Hoffmann <[email protected]>
Thu, 21 Feb 2019 09:43:10 +0000 (10:43 +0100)
qkbd_state_key_event() does that for us.

Fixes: 07333e1ca3 kbd-state: use state tracker for sdl2
Reported-by: BALATON Zoltan <[email protected]>
Signed-off-by: Gerd Hoffmann <[email protected]>
Tested-by: BALATON Zoltan <[email protected]>
Message-id: 20190208072744[email protected]

ui/sdl2-input.c

index 664364a5e5be5b4a1cc1f5765919646a77984fe8..fb345f45fb28891a3dff3e7864bd01f4cef64dc2 100644 (file)
@@ -54,8 +54,5 @@ void sdl2_process_key(struct sdl2_console *scon,
                 break;
             }
         }
-    } else {
-        qemu_input_event_send_key_qcode(con, qcode,
-                                        ev->type == SDL_KEYDOWN);
     }
 }
This page took 0.027136 seconds and 4 git commands to generate.