anime: CLI and user-daemon work

This commit is contained in:
Luke D Jones
2021-04-07 22:20:29 +12:00
parent 8010da0891
commit 7d0f15d738
65 changed files with 721 additions and 188 deletions

45
data/user-example.json Normal file
View File

@@ -0,0 +1,45 @@
{
"anime": [
{
"AsusAnimation": {
"file": "/usr/share/asusd/anime/asus/Controller.gif",
"duration": {
"secs": 5,
"nanos": 0
}
}
},
{
"ImageAnimation": {
"file": "/usr/share/asusd/anime/sonic.gif",
"scale": 0.9,
"angle": 0.65,
"translation": [
0.0,
0.0
],
"duration": {
"secs": 5,
"nanos": 0
},
"brightness": 0.5
}
},
{
"Image": {
"file_path": "/usr/share/asusd/anime/doom.png",
"scale": 0.7,
"angle": 0.0,
"translation": [
0.0,
0.0
],
"duration": {
"secs": 5,
"nanos": 0
},
"brightness": 0.6
}
}
]
}