Skip to content

Commit

Permalink
Lower gesture recognition threshold for shorter strokes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuanx committed Dec 17, 2020
1 parent f6ac107 commit e81440c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified Binary/Gosture_Linux_AMD64.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions Gosture.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
)

const (
versionStr = "Gosture v1.1"
versionStr = "Gosture v1.2"
authorStr = "By AyuanX, 22-Aug-2018"
cfgFile = ".Gosture.cfg"
)
Expand Down Expand Up @@ -58,7 +58,7 @@ func (m *mgT) step(ex, ey int) {
m.v, m.c = a, 1
} else if m.v != a {
m.c--
} else if m.c < 4 {
} else if m.c < 3 {
m.c++
} else {
m.c = 0
Expand Down

0 comments on commit e81440c

Please sign in to comment.