mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-15 01:18:53 +01:00
settings
This commit is contained in:
parent
bc8193c793
commit
9261a1ae27
@ -90,9 +90,16 @@ func NewSettingsPage() *SettingsPage {
|
|||||||
|
|
||||||
func (self *SettingsPage) GenList() []*SettingPlugin {
|
func (self *SettingsPage) GenList() []*SettingPlugin {
|
||||||
alist := []*SettingPlugin{
|
alist := []*SettingPlugin{
|
||||||
|
|
||||||
&SettingPlugin{0,"wifi.so", "Wifi", "Wi-Fi",nil},
|
&SettingPlugin{0,"wifi.so", "Wifi", "Wi-Fi",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{0,"about.so", "About", "About", nil},
|
||||||
|
|
||||||
&SettingPlugin{1,"", "LauncherPy","Switch to Launcher",&LauncherPy.APIOBJ},
|
&SettingPlugin{1,"", "LauncherPy","Switch to Launcher",&LauncherPy.APIOBJ},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return alist
|
return alist
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
package sysgo
|
package sysgo
|
||||||
|
|
||||||
var (
|
var (
|
||||||
CurKeySet = "PC"
|
CurKeySet = "GameShell" // PC or GameShell
|
||||||
DontLeave = false
|
DontLeave = false
|
||||||
BackLight = "/proc/driver/backlight"
|
BackLight = "/proc/driver/backlight"
|
||||||
Battery = "/sys/class/power_supply/axp20x-battery/uevent"
|
Battery = "/sys/class/power_supply/axp20x-battery/uevent"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user