Some broken clients (most notably Chromium and its descendants) try to interpret keymaps as if they were input sequences coming from evdev. Workaround that by only using codes that directly produce characters. Fixes #244 Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/692>
50 lines
786 B
Rust
50 lines
786 B
Rust
#[macro_use]
|
|
extern crate bitflags;
|
|
extern crate cairo;
|
|
extern crate cairo_sys;
|
|
extern crate gdk;
|
|
extern crate gio;
|
|
extern crate glib;
|
|
extern crate glib_sys;
|
|
extern crate gtk;
|
|
extern crate gtk_sys;
|
|
#[allow(unused_imports)]
|
|
#[macro_use] // only for tests
|
|
extern crate maplit;
|
|
extern crate serde;
|
|
extern crate xkbcommon;
|
|
extern crate zbus;
|
|
extern crate zvariant;
|
|
|
|
#[cfg(test)]
|
|
#[macro_use]
|
|
mod assert_matches;
|
|
#[macro_use]
|
|
mod logging;
|
|
|
|
mod action;
|
|
pub mod actors;
|
|
mod animation;
|
|
pub mod data;
|
|
mod drawing;
|
|
mod event_loop;
|
|
pub mod float_ord;
|
|
pub mod imservice;
|
|
mod keyboard;
|
|
pub mod keycodes;
|
|
mod layout;
|
|
mod locale;
|
|
mod main;
|
|
mod outputs;
|
|
mod panel;
|
|
mod popover;
|
|
mod receiver;
|
|
pub mod resources;
|
|
mod state;
|
|
mod style;
|
|
mod submission;
|
|
pub mod tests;
|
|
pub mod util;
|
|
mod vkeyboard;
|
|
mod xdg;
|