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
This commit is contained in:
stjet
2026-03-12 08:04:57 +00:00
parent c4876e5606
commit 9f7ef7c14d
158 changed files with 432 additions and 79 deletions

View File

@@ -0,0 +1,19 @@
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)
}
}