Skip to content

Commit ef268c7

Browse files
committed
bbox2 -> pkg, remove unused wavs
1 parent 718f59e commit ef268c7

File tree

121 files changed

+36
-36
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

121 files changed

+36
-36
lines changed

README.md

Lines changed: 2 additions & 2 deletions

cmd/amp/main.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111
"syscall"
1212
"time"
1313

14-
"github.com/siggy/bbox/bbox2/equalizer"
15-
"github.com/siggy/bbox/bbox2/keyboard"
16-
"github.com/siggy/bbox/bbox2/leds"
17-
"github.com/siggy/bbox/bbox2/program"
18-
"github.com/siggy/bbox/bbox2/wavs"
14+
"github.com/siggy/bbox/pkg/equalizer"
15+
"github.com/siggy/bbox/pkg/keyboard"
16+
"github.com/siggy/bbox/pkg/leds"
17+
"github.com/siggy/bbox/pkg/program"
18+
"github.com/siggy/bbox/pkg/wavs"
1919
log "github.com/sirupsen/logrus"
2020
)
2121

@@ -30,7 +30,7 @@ func main() {
3030
log.Fatalf("Invalid log level: %v", err)
3131
}
3232
log.SetLevel(lvl)
33-
log := log.WithField("bbox2", "main")
33+
log := log.WithField("bbox", "main")
3434

3535
ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
3636
defer stop()

cmd/baux/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"syscall"
1010
"time"
1111

12-
"github.com/siggy/bbox/bbox2/amplitude"
13-
"github.com/siggy/bbox/bbox2/leds"
12+
"github.com/siggy/bbox/pkg/amplitude"
13+
"github.com/siggy/bbox/pkg/leds"
1414
log "github.com/sirupsen/logrus"
1515
)
1616

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import (
1010
"syscall"
1111
"time"
1212

13-
"github.com/siggy/bbox/bbox2/keyboard"
14-
"github.com/siggy/bbox/bbox2/leds"
15-
"github.com/siggy/bbox/bbox2/program"
16-
"github.com/siggy/bbox/bbox2/programs/beats"
17-
"github.com/siggy/bbox/bbox2/programs/song"
18-
"github.com/siggy/bbox/bbox2/wavs"
13+
"github.com/siggy/bbox/pkg/keyboard"
14+
"github.com/siggy/bbox/pkg/leds"
15+
"github.com/siggy/bbox/pkg/program"
16+
"github.com/siggy/bbox/pkg/programs/beats"
17+
"github.com/siggy/bbox/pkg/programs/song"
18+
"github.com/siggy/bbox/pkg/wavs"
1919
log "github.com/sirupsen/logrus"
2020
)
2121

cmd/leds/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"strings"
1313
"syscall"
1414

15-
"github.com/siggy/bbox/bbox2/leds"
15+
"github.com/siggy/bbox/pkg/leds"
1616
log "github.com/sirupsen/logrus"
1717
)
1818

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ func New() (*Amplitude, error) {
7070
a := &Amplitude{
7171
ctx: ctx,
7272
levels: make(chan float64, channelBuffer),
73-
log: log.WithField("bbox2", "amplitude"),
73+
log: log.WithField("bbox", "amplitude"),
7474
}
7575

7676
a.deviceConfig = malgo.DefaultDeviceConfig(malgo.Capture)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package equalizer
33
import (
44
"math"
55

6-
"github.com/siggy/bbox/bbox2/leds"
6+
"github.com/siggy/bbox/pkg/leds"
77
)
88

99
// colorizer is a function type that maps a value from 0.0-1.0 to an LED color
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package keyboard
22

33
import (
44
"github.com/eiannone/keyboard"
5-
"github.com/siggy/bbox/bbox2/program"
5+
"github.com/siggy/bbox/pkg/program"
66
log "github.com/sirupsen/logrus"
77
)
88

@@ -33,7 +33,7 @@ func New(keymaps map[rune]program.Coord) (*Keyboard, error) {
3333
keyEvents: keyEvents,
3434
presses: make(chan program.Coord, keyBuffer),
3535

36-
log: log.WithField("bbox2", "keyboard"),
36+
log: log.WithField("bbox", "keyboard"),
3737
}, nil
3838
}
3939

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package keyboard
22

3-
import "github.com/siggy/bbox/bbox2/program"
3+
import "github.com/siggy/bbox/pkg/program"
44

55
var KeyMapsPC = map[rune]program.Coord{
66
'1': {Row: 0, Col: 0},

0 commit comments

Comments
 (0)