core: button: add keyboard method to insert text

This commit is contained in:
Richard Acayan 2024-08-04 22:09:24 -04:00
parent 8f7e9dfe7a
commit db2a8cdeab
3 changed files with 16 additions and 5 deletions

View file

@ -111,6 +111,7 @@ pub trait Keyboard {
fn press(&mut self, sym: Keysym);
fn release(&mut self, sym: Keysym);
fn text(&mut self, text: &str);
fn change_layout(&mut self, layout: &Layout);
}