slint/sixtyfps_runtime/rendering_backends/gl
Simon Hausmann 6db89e3468 Fix key events the control modifier on Windows, X11 and Wayland
Under these windowing systems, we receive a QString text from Qt that
contains a terminal control character (like \u{3} for ctrl+c). We
decided to supply the character for the key (for example 'c' for Ctrl+C)
to the application, so activate the conversion from the key code when
control characters are present.

With winit, we receive first a key down input event with the virtual key
code (for example C for Ctrl+C), followed by a ReceivedCharacter event
with a terminal control character. We choose to ignore that and instead
take the previously received key code and try to use that instead.

Fixes #441
2021-08-30 19:07:32 +02:00
..
fonts Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00
Cargo.toml Apply pre-commit hooks to all files 2021-08-17 22:38:16 +02:00
event_loop.rs Fix key events the control modifier on Windows, X11 and Wayland 2021-08-30 19:07:32 +02:00
fonts.rs Further clean up item graphics cache handling 2021-08-26 13:46:37 +02:00
graphics_window.rs Fix key events the control modifier on Windows, X11 and Wayland 2021-08-30 19:07:32 +02:00
images.rs Remove imgref dependency from the public Image API 2021-08-10 15:56:01 +02:00
lib.rs Further clean up item graphics cache handling 2021-08-26 13:46:37 +02:00
svg.rs Janitor: Fix clippy::needless_borrow 2021-08-04 22:50:35 +02:00