Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.3.0 #5

Merged
merged 25 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
f47aaa7
Fix typos in documentation
llMBQll Dec 30, 2024
e7383d2
Remove duplicate assets directory
llMBQll Dec 30, 2024
bcd6b3c
Document previously left out funcitions
llMBQll Jan 6, 2025
94739c7
Remove 'env' function from lua scripting environment
llMBQll Jan 10, 2025
ed27ac3
Cleanup lua globals table creation
llMBQll Jan 10, 2025
8cbcaab
Change the way images are loaded and stored
llMBQll Dec 30, 2024
1cce979
Make 2 Bit implementations for mutable and immutable access
llMBQll Jan 2, 2025
fdfc812
Initial support for animated images
llMBQll Jan 2, 2025
ee4a5d7
Create Animation type to handle text and animated images
llMBQll Jan 2, 2025
bb70225
Adjust animation implementation to fix some edge cases
llMBQll Jan 3, 2025
5666db9
Fix calculations for flip horizontal and vertical modifiers
llMBQll Jan 3, 2025
ff28dbc
Update images readme
llMBQll Jan 3, 2025
db35b38
Update documentation for images
llMBQll Jan 5, 2025
8b1200f
Rename Image to ImageData in proto definition
llMBQll Jan 6, 2025
40ab75b
Share global animation speed setting between Text and Images, allow f…
llMBQll Jan 6, 2025
911305b
Update documentation with animation related changes
llMBQll Jan 6, 2025
1dad53d
Refactor animated image an text handling
llMBQll Jan 18, 2025
0572ad1
Update the docs, change default animation group to 0
llMBQll Jan 20, 2025
3c764b2
Add license header
llMBQll Jan 20, 2025
26b84e6
Small refactor in renderer implementation
llMBQll Jan 20, 2025
b4f7a02
Make ont_size the only property that actually impacts font size
llMBQll Jan 20, 2025
34cef93
Merge pull request #6 from llMBQll/feature/gifs
llMBQll Jan 20, 2025
9e31ac6
Fix windows installation dependenies documentation
llMBQll Jan 21, 2025
fb3e39e
bump dependencies
llMBQll Jan 23, 2025
f8585b3
Bump package versions
llMBQll Jan 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 35 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions config/scripts.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ local function volume()
Text {
text = AUDIO.IsMuted and 'Muted' or AUDIO.Volume,
font_size = 24,
text_offset = 'AutoUpper',
text_offset = 1,
position = { x = 0, y = 0 },
size = { width = SCREEN.Width, height = SCREEN.Height / 2 },
},
Text {
text = AUDIO.Name,
scrolling = true,
repeats = 'Once',
position = { x = 0, y = SCREEN.Height / 2 },
size = { width = SCREEN.Width, height = SCREEN.Height / 2 },
},
},
duration = 2000,
repeats = 'Once',
}
end

Expand Down Expand Up @@ -55,7 +55,6 @@ local function spotify()
},
},
duration = SPOTIFY_DURATION,
repeats = 'ForDuration',
}
end

Expand All @@ -65,14 +64,14 @@ local function clock()
Text {
text = string.format("%02d", CLOCK.Hours),
font_size = 50,
text_offset = 'AutoUpper',
text_offset = 1,
position = { x = 10, y = 0 },
size = { width = SCREEN.Width / 2, height = SCREEN.Height - 3 },
},
Text {
text = string.format("%02d", CLOCK.Minutes),
font_size = 37,
text_offset = 'AutoUpper',
text_offset = 1,
position = { x = SCREEN.Width / 2 + 3, y = 0 },
size = { width = 54, height = 26 },
},
Expand Down Expand Up @@ -113,7 +112,7 @@ local function weather()
Text {
text = value,
font_size = 30,
text_offset = 'AutoUpper',
text_offset = 1,
position = { x = SCREEN.Height, y = 0 },
size = { width = SCREEN.Height * 2, height = SCREEN.Height * 2 / 3 },
},
Expand Down
4 changes: 2 additions & 2 deletions docs/applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describes their usage and purpose.
## Custom Applications

Custom applications may be written in any language as long as they implement
the [gRPC interface](../oled-api/proto/plugin.proto).
the [gRPC interface](../omni-led-api/proto/plugin.proto).

## Loading Applications

Expand All @@ -29,7 +29,7 @@ There are 2 ways for applications to be started.
The first way is to register applications inside the `applications.lua` file. This allows the
OmniLED process to manage the application's lifetime — starting it when OmniLED starts and stopping
it when OmniLED shuts down. Additionally, you can define command line arguments that will be passed
to theapplication.
to the application.

To load an application use the global [`load_app`](scripting_reference.md#load_app) function. This
allows for the script to set command line arguments.
Expand Down
2 changes: 2 additions & 0 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

- [SteelSeries Engine](https://steelseries.com/gg/engine) - Optional. All devices can be controlled
via raw USB calls, routing via SSE is optional.
- [Protobuf Compiler](https://github.com/protocolbuffers/protobuf/releases/latest) - Optional. Only
required when building from source.

### Common

Expand Down
Loading