Tweak the diagonal to be more correct

This commit is contained in:
Luke D Jones
2021-04-06 11:54:55 +12:00
parent bfc31b06d5
commit fa16864a3e
49 changed files with 1379 additions and 228 deletions

View File

@@ -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,
}