mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Dbus signals (#28)
* Small rename of dbus args * Split out parts of main loop to tasks * Send signals on boot
This commit is contained in:
@@ -24,7 +24,8 @@ impl Ball {
|
||||
}
|
||||
}
|
||||
|
||||
fn update(&mut self, key_map: &Vec<[Key; 17]>) {
|
||||
#[allow(clippy::if_same_then_else)]
|
||||
fn update(&mut self, key_map: &[[Key; 17]]) {
|
||||
let pos = self.position;
|
||||
let dir = self.direction;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user