Add Headphone SW Switch

This commit is contained in:
mason 2023-07-07 17:59:03 +00:00 committed by fewtarius
parent aab6708c5e
commit 6259212016
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
6 changed files with 7 additions and 16 deletions

View file

@ -7,6 +7,7 @@ cat <<EOF >/storage/.config/profile.d/001-deviceconfig
DEVICE_HAS_FAN=false
DEVICE_VOLUMECTL=true
DEVICE_POWER_LED=false
DEVICE_SW_HP_SWITCH=true
DEVICE_PLAYBACK_PATH_SPK="SPK"
DEVICE_PLAYBACK_PATH_HP="HP"
DEVICE_BRIGHTNESS="128"

View file

@ -7,6 +7,7 @@ cat <<EOF >/storage/.config/profile.d/001-deviceconfig
DEVICE_HAS_FAN=false
DEVICE_VOLUMECTL=true
DEVICE_POWER_LED=false
DEVICE_SW_HP_SWITCH=true
DEVICE_PLAYBACK_PATH_SPK="SPK"
DEVICE_PLAYBACK_PATH_HP="HP"
DEVICE_BRIGHTNESS="128"

View file

@ -7,6 +7,7 @@ cat <<EOF >/storage/.config/profile.d/001-deviceconfig
DEVICE_HAS_FAN=false
DEVICE_VOLUMECTL=true
DEVICE_POWER_LED=false
DEVICE_SW_HP_SWITCH=true
DEVICE_PLAYBACK_PATH_SPK="SPK"
DEVICE_PLAYBACK_PATH_HP="HP"
DEVICE_BRIGHTNESS="128"

View file

@ -27,6 +27,7 @@ export SLOW_CORES \
DEVICE_POWER_LED \
DEVICE_PWM_FAN \
DEVICE_PWM_MOTOR \
DEVICE_SW_HP_SWITCH \
DEVICE_TEMP_SENSOR \
DEVICE_VOLUMECTL \
DEVICE_WIFI \

View file

@ -3,12 +3,12 @@
# Copyright (C) 2020-present Fewtarius
PKG_NAME="emulationstation"
PKG_VERSION="d1e5064"
PKG_GIT_CLONE_BRANCH="main"
PKG_VERSION="e58ee0e289c860d02e9166df271bc67a731472e4"
PKG_GIT_CLONE_BRANCH="sw_hp_switch"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="https://github.com/JustEnoughLinuxOS/emulationstation"
PKG_SITE="https://github.com/brooksytech/emulationstation"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="boost toolchain SDL2 freetype curl freeimage bash rapidjson SDL2_mixer fping p7zip alsa vlc drm_tool splash"
PKG_NEED_UNPACK="busybox"

View file

@ -1,13 +0,0 @@
diff --git a/es-app/src/guis/GuiMenu.cpp b/es-app/src/guis/GuiMenu.cpp
index f25bc41..fdf6c2d 100644
--- a/es-app/src/guis/GuiMenu.cpp
+++ b/es-app/src/guis/GuiMenu.cpp
@@ -3985,7 +3985,7 @@ void GuiMenu::openSoundSettings()
{
auto s = new GuiSettings(mWindow, _("SOUND SETTINGS").c_str());
-#if defined(S922X)
+#if defined(S922X) || defined(RK3326)
s->addGroup(_("OUTPUT"));
//ogu headphone enable