Files
ming-wm/wm/src/input_method/lat.rs
stjet 9f7ef7c14d add input methdod framework (add sitelen pona input)
Also change audio player randomness source to /dev/urandom which is way better for the prng we are using
2026-03-12 08:04:57 +00:00

20 lines
363 B
Rust

use ming_wm_lib::window_manager_types::InputMethod;
use ming_wm_lib::messages::KeyPress;
pub struct Lat {}
impl InputMethod for Lat {
fn abbr(&self) -> [char; 3] {
['L', 'A', 'T']
}
fn internal_buffer(&self) -> String {
String::new()
}
fn add_key_press(&mut self, kp: KeyPress) -> Option<char> {
//everything goes
Some(kp.key)
}
}