Romain Vimont e4163321f0 Delay HID events on Ctrl+v
When Ctrl+v is pressed, a control is sent to the device to set the
device clipboard before injecting Ctrl+v.

With the InputManager method, it is guaranteed that the device
synchronization is executed before handling Ctrl+v, since the commands
are executed on the device in sequence.

However, HID are injected from the computer, so there is no such
guarantee. As a consequence, on Android, Ctrl+v triggers a paste with
the old clipboard content.

To workaround the issue, wait a bit (2 milliseconds) from the AOA
thread before injecting the event, to leave enough time for the
clipboard to be set before injecting Ctrl+v.
2021-10-26 21:30:04 +02:00
..
2021-04-18 14:36:31 +02:00
2021-10-26 21:30:04 +02:00
2021-10-26 21:30:04 +02:00
2021-10-26 21:30:04 +02:00
2021-10-26 21:30:04 +02:00
2021-10-26 21:30:04 +02:00
2021-10-26 21:30:04 +02:00
2021-01-17 14:08:48 +01:00
2021-07-14 14:54:22 +02:00
2021-07-14 14:27:33 +02:00
2021-04-25 14:38:42 +02:00
2021-02-17 09:53:25 +01:00
2021-06-13 19:20:57 +02:00
2021-06-20 16:04:18 +02:00
2021-10-21 18:36:34 +02:00
2021-01-08 19:22:10 +01:00
2021-09-20 18:27:37 +02:00
2021-04-25 14:59:10 +02:00
2021-02-17 09:54:03 +01:00
2021-02-17 09:54:03 +01:00
2021-02-14 14:44:05 +01:00
2021-07-14 14:22:32 +02:00
2021-10-26 21:30:04 +02:00
2021-10-25 18:08:37 +02:00
2021-10-25 18:08:37 +02:00
2021-10-26 21:30:04 +02:00
2021-10-26 21:30:04 +02:00
2021-06-20 16:04:18 +02:00
2021-10-26 21:30:04 +02:00
2021-10-26 21:30:04 +02:00
2020-04-15 17:39:51 +02:00
2021-09-20 18:27:37 +02:00
2021-07-14 00:35:10 +02:00
2021-10-26 21:30:04 +02:00
2021-10-25 18:08:37 +02:00
2021-07-14 14:54:22 +02:00
2021-10-25 18:08:31 +02:00
2021-06-14 09:07:49 +02:00
2021-10-21 16:26:48 +02:00
2021-07-14 14:54:22 +02:00
2021-07-14 14:54:22 +02:00
2021-07-14 14:54:22 +02:00