Skip to content

Commit a8864af

Browse files
committed
Update ./targets/sgkey
1 parent 310b148 commit a8864af

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

targets/sgkey/main.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import (
1111
"time"
1212

1313
keyboard "github.com/sago35/tinygo-keyboard"
14-
"github.com/sago35/tinygo-keyboard/keycodes"
1514
jp "github.com/sago35/tinygo-keyboard/keycodes/japanese"
1615
"tinygo.org/x/drivers/ssd1306"
1716
"tinygo.org/x/tinydraw"
@@ -71,7 +70,7 @@ func run() error {
7170

7271
mk := d.AddMatrixKeyboard(colPins, rowPins, [][]keyboard.Keycode{
7372
{
74-
keycodes.KeyMacro0, keycodes.KeyMacro1, keycodes.KeyMacro2,
73+
jp.KeyMacro0, jp.KeyMacro1, jp.KeyMacro2,
7574
jp.KeyY, jp.KeyG, jp.KeyO,
7675
},
7776
})

0 commit comments

Comments
 (0)