mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-03-19 02:12:46 +01:00
bluetooth code updated with latest github.com/muka/go-bluetooth@v0.0.0-20210812063148-b6c83362e27d
This commit is contained in:
@@ -402,6 +402,7 @@ func (self *MainScreen) Draw() {
|
||||
}
|
||||
|
||||
if self.TitleBar != nil {
|
||||
//every plugin_init should not do any Draw actions since CurrentPage might be nil at that time
|
||||
self.TitleBar.Draw( self.CurrentPage.GetName())
|
||||
}
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ func (self *SkinManager) Init() {
|
||||
self.Colors["White"] = &color.Color{255,255,255,255}
|
||||
self.Colors["Black"] = &color.Color{0,0,0,255}
|
||||
|
||||
fname := "skin/"+sysgo.SKIN+"/config.ini"
|
||||
fname := sysgo.SKIN+"/config.ini"
|
||||
|
||||
load_opts := ini.LoadOptions{
|
||||
IgnoreInlineComment:true,
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user