Compare commits

...

2 commits

Author SHA1 Message Date
gallant 8a3fb8e035 oh dear 2023-07-27 15:02:14 -05:00
gallant 80124967ab oh dear 2023-07-27 15:00:46 -05:00
3 changed files with 11 additions and 10 deletions

View file

@ -3,9 +3,10 @@ use smithay::backend::input::{
InputBackend
};
impl InputBackend for Waycrab{}
impl InputBackend for Waycrab{
fn dispatch_new_events<F>(
&mut self,
callback: F) -> Result<(),InputBackend::EventError>{
}
}
}

View file

@ -1,4 +1,6 @@
mod backend;
mod state;
mod input;
fn main() {
println!("Hello, world!");

View file

@ -1,14 +1,12 @@
#[derive(Debug)]
struct Waycrab {
uptime: std::time::Instant
pub struct Waycrab {
uptime: std::time::Instant,
}
impl Waycrab{
pub fn new() -> Self
{
impl Waycrab {
pub fn new() -> Self {
Waycrab {
uptime: std::time::Instant::now()
}
uptime: std::time::Instant::now(),
}
}
}