Hi, > > + key_delay_ms = qemu_opt_get_number(opts, "key-delay-ms", 1); > > Why the default value is 1 and not 0? > (Are there some impacts on the "qemu_input_event_send_key_delay(0);" you > replace above?)
I think it makes sense to have a delay by default, so the guest is scheduled to run after each event, increasing the chance it picks up the event. And 1 ms delay is so small that you shouldn't be able to notice it. cheers, Gerd