Skip to content

Commit d1de32f

Browse files
committed
Use go modules
1 parent c2fe955 commit d1de32f

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

go.mod

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module github.com/grafov/shift-shift
2+
3+
go 1.20
4+
5+
require github.com/gvalkov/golang-evdev v0.0.0-20220815104727-7e27d6ce89b6

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github.com/gvalkov/golang-evdev v0.0.0-20220815104727-7e27d6ce89b6 h1:K9b8efT9f1NkITNgNAm2A1LuoamhG4pAhXVjz5Sfa5Q=
2+
github.com/gvalkov/golang-evdev v0.0.0-20220815104727-7e27d6ce89b6/go.mod h1:SAzVFKCRezozJTGavF3GX8MBUruETCqzivVLYiywouA=

shift-shift.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
// Keyboard switcher for multiple keyboards.
2-
// Left shift — group1
3-
// Right shift - group2
42
package main
53

64
// go build -compiler gccgo -gccgoflags "-lX11" emacskey.go
@@ -22,7 +20,7 @@ import (
2220
"regexp"
2321
"time"
2422

25-
"github.com/gvalkov/golang-evdev"
23+
evdev "github.com/gvalkov/golang-evdev"
2624
)
2725

2826
// Объединение данных для удобства передачи по каналу.

0 commit comments

Comments
 (0)