From 75a425afbf21a56d54d7014d806f4cf9119b16d4 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Thu, 15 Feb 2024 10:49:24 -0500 Subject: [PATCH] AppletMessage --- src/Ryujinx.Horizon/Sdk/Am/AppletMessage.cs | 39 +++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/Ryujinx.Horizon/Sdk/Am/AppletMessage.cs diff --git a/src/Ryujinx.Horizon/Sdk/Am/AppletMessage.cs b/src/Ryujinx.Horizon/Sdk/Am/AppletMessage.cs new file mode 100644 index 000000000..7d88b72fa --- /dev/null +++ b/src/Ryujinx.Horizon/Sdk/Am/AppletMessage.cs @@ -0,0 +1,39 @@ +namespace Ryujinx.Horizon.Sdk.Am +{ + public enum AppletMessage : byte + { + None = 0, + ChangeIntoForeground = 1, + ChangeIntoBackground = 2, + Exit = 4, + ApplicationExited = 6, + FocusStateChanged = 15, + Resume = 16, + DetectShortPressingHomeButton = 20, + DetectLongPressingHomeButton = 21, + DetectShortPressingPowerButton = 22, + DetectMiddlePressingPowerButton = 23, + DetectLongPressingPowerButton = 24, + RequestToPrepareSleep = 25, + FinishedSleepSequence = 26, + SleepRequiredByHighTemperature = 27, + SleepRequiredByLowBattery = 28, + AutoPowerDown = 29, + OperationModeChanged = 30, + PerformanceModeChanged = 31, + DetectReceivingCecSystemStandby = 32, + SdCardRemoved = 33, + LaunchApplicationRequested = 50, + RequestToDisplay = 51, + ShowApplicationLogo = 55, + HideApplicationLogo = 56, + ForceHideApplicationLogo = 57, + FloatingApplicationDetected = 60, + PerformanceConfigurationChanged = 61, + DetectShortPressingCaptureButton = 90, + AlbumScreenShotTaken = 92, + AlbumRecordingSaved = 93, + DetectShortPressingCaptureButtonForApplet = 110, + DetectLongPressingCaptureButtonForApplet = 111 + } +}