From 9261a1ae278cda1065bfb823901cdc3edbcce9f6 Mon Sep 17 00:00:00 2001 From: cuu Date: Wed, 5 Dec 2018 20:30:59 +0800 Subject: [PATCH] settings --- Menu/GameShell/10_Settings/Settings.go | 9 ++++++++- sysgo/config.go | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Menu/GameShell/10_Settings/Settings.go b/Menu/GameShell/10_Settings/Settings.go index 2050a1e..81eeea9 100644 --- a/Menu/GameShell/10_Settings/Settings.go +++ b/Menu/GameShell/10_Settings/Settings.go @@ -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 diff --git a/sysgo/config.go b/sysgo/config.go index 807a2cf..9ec469c 100644 --- a/sysgo/config.go +++ b/sysgo/config.go @@ -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"