This commit is contained in:
cuu 2018-12-05 20:30:59 +08:00
parent bc8193c793
commit 9261a1ae27
2 changed files with 9 additions and 2 deletions

View File

@ -90,9 +90,16 @@ func NewSettingsPage() *SettingsPage {
func (self *SettingsPage) GenList() []*SettingPlugin {
alist := []*SettingPlugin{
&SettingPlugin{0,"wifi.so", "Wifi", "Wi-Fi",nil},
&SettingPlugin{0,"about.so", "About", "About",nil},
&SettingPlugin{0,"sound.so", "Sound", "Sound Volume" , nil},
&SettingPlugin{0,"brightness.so", "Brightness", "BackLight Brightness", nil},
&SettingPlugin{0,"update.so", "Update", "Update", nil},
&SettingPlugin{0,"about.so", "About", "About", nil},
&SettingPlugin{1,"", "LauncherPy","Switch to Launcher",&LauncherPy.APIOBJ},
}
return alist

View File

@ -1,7 +1,7 @@
package sysgo
var (
CurKeySet = "PC"
CurKeySet = "GameShell" // PC or GameShell
DontLeave = false
BackLight = "/proc/driver/backlight"
Battery = "/sys/class/power_supply/axp20x-battery/uevent"