mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Begin rog-aura crate
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
pub static DBUS_NAME: &str = "org.asuslinux.Daemon";
|
||||
pub static DBUS_PATH: &str = "/org/asuslinux/Daemon";
|
||||
pub static DBUS_IFACE: &str = "org.asuslinux.Daemon";
|
||||
pub const LED_MSG_LEN: usize = 17;
|
||||
|
||||
pub mod zbus_anime;
|
||||
pub mod zbus_charge;
|
||||
@@ -11,8 +10,8 @@ pub mod zbus_profile;
|
||||
pub mod zbus_rogbios;
|
||||
pub mod zbus_supported;
|
||||
|
||||
use rog_aura::AuraEffect;
|
||||
use rog_types::{
|
||||
aura_modes::AuraEffect,
|
||||
gfx_vendors::{GfxRequiredUserAction, GfxVendors},
|
||||
};
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
@@ -23,10 +23,7 @@ use std::sync::{Arc, Mutex};
|
||||
|
||||
use zbus::{dbus_proxy, Connection, Result};
|
||||
|
||||
use rog_types::{
|
||||
aura_modes::{AuraEffect, LedBrightness},
|
||||
aura_perkey::KeyColourArray,
|
||||
};
|
||||
use rog_aura::{AuraEffect, KeyColourArray, LedBrightness};
|
||||
|
||||
const BLOCKING_TIME: u64 = 40; // 100ms = 10 FPS, max 50ms = 20 FPS, 40ms = 25 FPS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user