aboutsummaryrefslogtreecommitdiff
path: root/src/hid_core/resources/npad/npad_data.cpp
diff options
context:
space:
mode:
authorMaufeat <sahyno1996@gmail.com>2025-11-27 19:46:41 +0100
committercrueter <crueter@eden-emu.dev>2025-11-27 19:46:41 +0100
commitf58097e814ebb000f23acbe26f096c8c4368da73 (patch)
tree815402cc40eb6ce1f69cd977d411257c49f347ce /src/hid_core/resources/npad/npad_data.cpp
parent1efef853529074adc4c7c1b43bcd3288e4b43004 (diff)
[hle,display,overlay,starter,hid] add overlay functions, starter applet (initially), HID handheld for system applets and fw21 stubs (#3080)
Adds fully functional overlay display. - Enable Overlay Applet via "View" -> "Enable Overlay Display Applet" - Open the overlay by pressing the home button for over 1s - Can adjust volume - Can toggle airplane mode (if on WiFi, maybe if overlay is enabled pretend to be on WiFi?) - Future TODO(?): Adjust Brightness implementation for host system - Inputs are properly registered. e.g. if overlay open, application does not register inputs. You can control volume and airplane mode outside of the emulator window Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3080 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: Maufeat <sahyno1996@gmail.com> Co-committed-by: Maufeat <sahyno1996@gmail.com>
Diffstat (limited to 'src/hid_core/resources/npad/npad_data.cpp')
-rw-r--r--src/hid_core/resources/npad/npad_data.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hid_core/resources/npad/npad_data.cpp b/src/hid_core/resources/npad/npad_data.cpp
index a4b46a1ecf..a490fe8a54 100644
--- a/src/hid_core/resources/npad/npad_data.cpp
+++ b/src/hid_core/resources/npad/npad_data.cpp
@@ -68,8 +68,7 @@ bool NPadData::IsNpadIdTypeSupported(Core::HID::NpadIdType npad_id) const {
}
void NPadData::SetNpadSystemCommonPolicy(bool is_full_policy) {
- supported_npad_style_set = Core::HID::NpadStyleSet::Fullkey | Core::HID::NpadStyleSet::JoyDual |
- Core::HID::NpadStyleSet::SystemExt | Core::HID::NpadStyleSet::System;
+ supported_npad_style_set = Core::HID::NpadStyleSet::All;
handheld_activation_mode = NpadHandheldActivationMode::Dual;
status.is_supported_styleset_set.Assign(true);