mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Refactor: Make all Aura type devices use "device_manager"
Open the door to adding many other types of "aura" devices later.
This commit is contained in:
@@ -12,7 +12,7 @@ pub use breathe::*;
|
||||
mod static_;
|
||||
pub use static_::*;
|
||||
|
||||
use crate::keyboard::{KeyLayout, LedCode, LedUsbPackets, UsbPackets};
|
||||
use crate::keyboard::{AuraLaptopUsbPackets, KeyLayout, LedCode, LedUsbPackets};
|
||||
use crate::Colour;
|
||||
|
||||
// static mut RNDINDEX: usize = 0;
|
||||
@@ -106,7 +106,7 @@ impl AdvancedEffects {
|
||||
}
|
||||
}
|
||||
|
||||
pub fn create_packets(&self) -> UsbPackets {
|
||||
pub fn create_packets(&self) -> AuraLaptopUsbPackets {
|
||||
let mut usb_packets = if self.zoned {
|
||||
// TODO: figure out if that single byte difference for multizone actually
|
||||
// matters
|
||||
|
||||
Reference in New Issue
Block a user