Implement keyboard auto-repeat
authorGiulio Camuffo <giuliocamuffo@gmail.com>
Thu, 12 Dec 2013 21:25:29 +0000 (22:25 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 23 Dec 2013 19:48:28 +0000 (20:48 +0100)
commite697d28dae8cbf4793132577131c81f3a252629b
treea48e6aecd571901efd1fdf90a44bb6e35501e604
parent24b43e8ca5aa4d0248285354f92d4c88ce368070
Implement keyboard auto-repeat

Wayland does not send auto-repeat key events, so the clients must implement
it themselves. The times used here are taken from Weston's toy toolkit
implementation.

Change-Id: I13ec7799672ee5ca2904c9b18ac5ec0c8816d6fc
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
src/plugins/platforms/wayland_common/qwaylandinputdevice.cpp
src/plugins/platforms/wayland_common/qwaylandinputdevice.h