mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Tweak the diagonal to be more correct
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use std::{fs::File, path::{Path}, time::Duration};
|
||||
use std::{fs::File, path::Path, time::Duration};
|
||||
|
||||
use crate::{error::AnimeError, AniMeDataBuffer, AniMeDiagonal};
|
||||
|
||||
#[derive(Debug, Clone, Deserialize, Serialize)]
|
||||
pub struct AniMeFrame {
|
||||
/// Precomputed data for the frame. This can be transferred directly to the
|
||||
/// the `asusd` daemon over dbus or converted to USB packet with `AniMePacketType::from(buffer)`
|
||||
data: AniMeDataBuffer,
|
||||
delay: Duration,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user