Compare commits
No commits in common. "4ebf6dd71576998a3d93a4bc560eae961e6920e8" and "7ccca15de710d8e09f2469aa5ab9461924bbb8af" have entirely different histories.
4ebf6dd715
...
7ccca15de7
@ -1,6 +0,0 @@
|
||||
# ghettoptt
|
||||
|
||||
Janky workaround for mumble ptt on Wayland.
|
||||
|
||||
Listens to evdev input, and uses dbus to start and stop talking in mumble
|
||||
|
3
main.go
3
main.go
@ -11,8 +11,6 @@ import (
|
||||
"github.com/holoplot/go-evdev"
|
||||
)
|
||||
|
||||
const Version = "v0.1.1"
|
||||
|
||||
func main() {
|
||||
// Setup logger
|
||||
h := slog.NewJSONHandler(os.Stdout, &slog.HandlerOptions{Level: slog.LevelInfo})
|
||||
@ -50,7 +48,6 @@ func main() {
|
||||
}()
|
||||
|
||||
// Start listening for PTT key
|
||||
slog.Info("Starting event listener", "version", Version)
|
||||
for !done {
|
||||
ev, err := input.ReadOne()
|
||||
if err != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user