aboutsummaryrefslogtreecommitdiff
path: root/src/core/frontend
AgeCommit message (Collapse)Author
2022-06-13common: Change semantics of UNREACHABLE to unconditionally crashLiam
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-03-21applets/mii: Remove frontend parametersMorph
These are unused for now as we do not support a frontend implementation.
2022-03-21service: Move mii enums and structs into its own fileMorph
Moves these into types.h, since other files also make use of these types.
2022-03-21applets: Rename Mii to MiiEditMorph
2022-03-19core: Reduce unused includesameerj
2022-03-16Merge pull request #7964 from german77/miiiibunnei
applet: mii: Simple implementation of mii applet
2022-03-07emu_window: Create a way to Cancel the exit of a Scopedlat9nq
If a GraphicsContext is destroyed before its Scoped is destroyed, this causes a crash as the Scoped tries to call a method in the destroyed context on exit. Add a way to Cancel the call when we know that calling the GraphicsContext will not work.
2022-02-28applet: mii: Simple implementation of mii appletgerman77
2022-02-05general: Rename NewUUID to UUID, and remove the previous UUID implMorph
This completes the removal of the old UUID implementation.
2022-02-05profile: Migrate to the new UUID implementationMorph
2021-12-29core/hid: Fix controller type validationgerman77
2021-11-24core/hid: Rename NpadType to NpadStyleIndexgerman77
2021-11-24Morph review first wavegerman77
2021-11-24kraken: Address comments from reviewgerman77
review fixes
2021-11-24core/frontend: Update appletsgerman77
2021-11-24core: Remove frontend/inputgerman77
2021-11-24core/emu_window: Remove touch inputgerman77
2021-11-24core/hid: Move input_interpreter to hidgerman77
2021-11-20Fix screenshot dimensions when at 1x scaleameerj
This was regressed by ART. Prior to ART, the screenshots were saved at the title's framebuffer resolution. A misunderstanding of the existing logic led to screenshot dimensions becoming dependent on the host render window size. This changes the behavior to match how it was prior to ART at 1x, with screenshots now always being the title's framebuffer dimensions scaled by the resolution scaling factor.
2021-11-16bootmanager: Fix screenshot resolution factor usageameerj
Fixes screenshots at non integer scaling
2021-11-08applets/swkbd: Skip text checking if the text has been confirmedMorph
Confirm means that the text has already been checked by the application to be correct, but is asking the user for confirmation. The confirmation text itself seems to be corrupted though, this needs to be investigated. Fixes the software keyboard in Famicom Detective Club: The Missing Heir
2021-11-03core: Remove unused includesameerj
2021-09-22core/profile_select: Avoid uninitialized read in SelectProfile()Lioncash
The default constructor of UUID doesn't initialize its data members, so we need to directly initialize it to be invalid.
2021-07-14applets: Append applet_ prefix to backend appletsMorph
2021-06-28general: Make most settings a BasicSettinglat9nq
Creates a new BasicSettings class in common/settings, and forces setting a default and label for each setting that uses it in common/settings. Moves defaults and labels from both frontends into common settings. Creates a helper function in each frontend to facillitate reading the settings now with the new default and label properties. Settings::Setting is also now a subclass of Settings::BasicSetting. Also adds documentation for both Setting and BasicSetting.
2021-06-23General: Resolve fmt specifiers to adhere to 8.0.0 API where applicableLioncash
Also removes some deprecated API usages.
2021-05-30input_common: Analog button, use time based position instead of frequent updatesgerman77
2021-05-16core: Make variable shadowing a compile-time errorLioncash
Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely.
2021-04-30Merge pull request #6257 from Morph1984/fix-use-after-free-webappletbunnei
applets/web: Fix a use-after-free when passing in the URL string
2021-04-29Merge pull request #6226 from german77/sevensixbunnei
hid: Implement SevenSixAxis and ConsoleSixAxisSensor
2021-04-28applets/web: Fix a use-after-free when passing in the URL stringMorph
The URL string was being deleted before being used, leading to a use-after-free occurring when it is used afterwards. Fix this by taking the string by const ref to extend its lifetime, ensuring it doesn't get deleted before use.
2021-04-23hid: Implement SevenSixAxis and ConsoleSixAxisSensorgerman77
2021-04-23emu_window: Return pair from ClipToTouchScreen() instead of tupleLioncash
This is only a 2-tuple, so it can be converted over to the std::pair class.
2021-04-23emu_window: unsigned -> u32Lioncash
This is more concise and consistent with the rest of the codebase.
2021-04-15input_interpreter: Fix button hold being interpreted incorrectly on initMorph
We reset all the button states to 0 except the first index (which has all the buttons as pressed) to prevent a button hold being interpreted as a button that was pressed once on the first poll.
2021-04-15applets/swkbd: Implement the Default Software Keyboard frontendMorph
2021-04-15applets: Remove the previous software keyboard applet implementationMorph
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2021-02-07hid: Implement GC controllergerman
2021-02-06Make settings controller image change with controller inputgerman
2021-01-20Merge pull request #5270 from german77/multiTouchbunnei
HID: Add multitouch support
2021-01-16input_interpreter: Mark two member functions as constLioncash
These aren't stateful functions, so we can make use of const. While we're at, we can resolve some -Wdocumentation warnings.
2021-01-16input_interpreter: Add method to check for a button press stateMorph
This allows to check for continuous input for the duration of a button press/hold
2021-01-15Always initialize keyboard inputgerman
2021-01-15Add mutitouch support for touch screensgerman
2021-01-15Allow to return up to 16 touch inputs per enginegerman
2020-12-18applets/web: Implement the online web browser appletMorph
2020-12-18main, applets/web: Re-add progress dialog for RomFS extractionMorph
2020-12-18frontend/input_interpreter: Add InputInterpreter APIMorph
The InputInterpreter class interfaces with HID to retrieve button press states. Input is intended to be polled every 50ms so that a button is considered to be held down after 400ms has elapsed since the initial button press and subsequent repeated presses occur every 50ms. Co-authored-by: Chloe <25727384+ogniK5377@users.noreply.github.com>