keyboard.rs

 1use gpui::PlatformKeyboardLayout;
 2
 3pub struct WebKeyboardLayout;
 4
 5impl WebKeyboardLayout {
 6    pub fn new() -> Self {
 7        WebKeyboardLayout
 8    }
 9}
10
11impl PlatformKeyboardLayout for WebKeyboardLayout {
12    fn id(&self) -> &str {
13        "us"
14    }
15
16    fn name(&self) -> &str {
17        "US"
18    }
19}