mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-12 16:08:52 +01:00
settings
This commit is contained in:
parent
bc8193c793
commit
9261a1ae27
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user