fix: polish stuff a bit

This commit is contained in:
Nova
2024-06-27 16:51:33 -04:00
parent d17841ec7a
commit f08f3e4e4b
11 changed files with 104 additions and 98 deletions

View File

@@ -45,22 +45,13 @@ impl Default for MouseEvent {
}
#[derive(Debug, Clone, Deserialize, Serialize)]
#[derive(Default)]
pub struct KeyboardEvent {
pub keyboard: (),
pub xkbv1: (),
pub keymap_id: u64,
pub keys: Vec<i32>,
}
impl Default for KeyboardEvent {
fn default() -> Self {
Self {
keyboard: (),
xkbv1: (),
keymap_id: 0,
keys: Default::default(),
}
}
}
#[allow(unused)]
pub struct MousePointer {