Skip to content

Commit

Permalink
minidex/plugins: rename Devices to Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kortschak committed Nov 3, 2024
1 parent a541950 commit bd386ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion minidex/dex/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func Main() int {
}
defer store.Close()

for dev, pages := range plugins.Devices {
for dev, pages := range plugins.Actions {
var pid ardilla.PID
for _, id := range pids {
if dev.Model == id.String() {
Expand Down
4 changes: 2 additions & 2 deletions minidex/plugins/plugin_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ package plugins

import "time"

// Devices is the device configuration used by minidex.
var Devices = map[Device]map[Page]map[Button]Action{
// Actions is the device configuration used by minidex.
var Actions = map[Device]map[Page]map[Button]Action{
{Model: "", Serial: ""}: {
"default": {
{Row: 0, Col: 0}: &gopher{},
Expand Down

0 comments on commit bd386ff

Please sign in to comment.