Skip to content

Commit

Permalink
bulk:
Browse files Browse the repository at this point in the history
- commander core argb support
- commander core xt argb support
- xd5 link fixups
- multi lcd support per link system hub
- support for K55 core
- support for K65 pro mini
- support for K70 core
- complete removal of vertical ui
- decouple fan and rgb control for commander core
- decouple fan and rgb control for commander core xt
  • Loading branch information
jurkovic-nikola committed Nov 3, 2024
1 parent b63b9d8 commit a4798d2
Show file tree
Hide file tree
Showing 57 changed files with 10,393 additions and 2,164 deletions.
23 changes: 12 additions & 11 deletions README.md

Large diffs are not rendered by default.

952 changes: 952 additions & 0 deletions database/keyboard/k55core.json

Large diffs are not rendered by default.

899 changes: 899 additions & 0 deletions database/keyboard/k65pm.json

Large diffs are not rendered by default.

1,384 changes: 1,384 additions & 0 deletions database/keyboard/k70core.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions database/rgb.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"brightness": 1
},
"profiles": {
"keyboard": {},
"rainbow": {
"speed": 4,
"brightness": 1
Expand Down
9 changes: 9 additions & 0 deletions src/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,12 @@ func IsValidExtension(path, extension string) bool {
}
return true
}

func IndexOfString(slice []string, target string) int {
for i, v := range slice {
if v == target {
return i
}
}
return -1 // Return -1 if the target is not found
}
2 changes: 2 additions & 0 deletions src/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"OpenLinkHub/src/dashboard"
"OpenLinkHub/src/devices"
"OpenLinkHub/src/devices/lcd"
"OpenLinkHub/src/keyboards"
"OpenLinkHub/src/logger"
"OpenLinkHub/src/metrics"
"OpenLinkHub/src/rgb"
Expand All @@ -25,6 +26,7 @@ func Start() {
rgb.Init() // RGB
lcd.Init() // LCD
temperatures.Init() // Temperatures
keyboards.Init() // Keyboards
devices.Init() // Devices
server.Init() // REST & WebUI
}
Expand Down
Loading

0 comments on commit a4798d2

Please sign in to comment.