bluetooth code updated with latest github.com/muka/go-bluetooth@v0.0.0-20210812063148-b6c83362e27d

This commit is contained in:
cuu
2021-10-07 21:54:30 +08:00
parent b4680f1a3e
commit 0461450ea9
5 changed files with 70 additions and 43 deletions

View File

@@ -9,7 +9,8 @@ type PowerLevel struct {
var PowerLevels map[string]*PowerLevel
var (
CurKeySet = "GameShell" // PC or GameShell
//CurKeySet = "PC" // PC or GameShell
CurKeySet = "GameShell"
DontLeave = false
BackLight = "/proc/driver/backlight"
Battery = "/sys/class/power_supply/axp20x-battery/uevent"