summaryrefslogtreecommitdiff
path: root/src/yuzu/applets
AgeCommit message (Collapse)Author
2021-10-15qt_web_browser: Add missing QApplication includeMorph
2021-10-07yuzu qt: Remove global system instances from config, WaitTree, mainlat9nq
2021-09-24Use subdirectory of main data directory for QtWebEngine storagev1993
Previously, an unrelated directory was used for this. Keep everything together for consistency.
2021-08-19qt_software_keyboard: fix copy-paste errorValeri
2021-07-27qt_web_browser: Fix lambda capture for HIDButtonjls47
2021-07-27qt_web_browser: Focus on the first link elementjls47
Focusing on the first link element fixes element navigation upon loading the web applet in games such as Super Mario Odyssey
2021-07-14applets: Append qt_ prefix to Qt frontend appletsMorph
2021-05-27applets/swkbd: Make use of std::move where applicableMorph
Avoids redundant string copies
2021-05-25Merge pull request #6339 from Morph1984/swkbd-queuedconnectionbunnei
applets/swkbd: Make use of QueuedConnection in returnPressed signal
2021-05-25common: fs: Rework the Common Filesystem interface to make use of ↵Morph
std::filesystem (#6270) * common: fs: fs_types: Create filesystem types Contains various filesystem types used by the Common::FS library * common: fs: fs_util: Add std::string to std::u8string conversion utility * common: fs: path_util: Add utlity functions for paths Contains various utility functions for getting or manipulating filesystem paths used by the Common::FS library * common: fs: file: Rewrite the IOFile implementation * common: fs: Reimplement Common::FS library using std::filesystem * common: fs: fs_paths: Add fs_paths to replace common_paths * common: fs: path_util: Add the rest of the path functions * common: Remove the previous Common::FS implementation * general: Remove unused fs includes * string_util: Remove unused function and include * nvidia_flags: Migrate to the new Common::FS library * settings: Migrate to the new Common::FS library * logging: backend: Migrate to the new Common::FS library * core: Migrate to the new Common::FS library * perf_stats: Migrate to the new Common::FS library * reporter: Migrate to the new Common::FS library * telemetry_session: Migrate to the new Common::FS library * key_manager: Migrate to the new Common::FS library * bis_factory: Migrate to the new Common::FS library * registered_cache: Migrate to the new Common::FS library * xts_archive: Migrate to the new Common::FS library * service: acc: Migrate to the new Common::FS library * applets/profile: Migrate to the new Common::FS library * applets/web: Migrate to the new Common::FS library * service: filesystem: Migrate to the new Common::FS library * loader: Migrate to the new Common::FS library * gl_shader_disk_cache: Migrate to the new Common::FS library * nsight_aftermath_tracker: Migrate to the new Common::FS library * vulkan_library: Migrate to the new Common::FS library * configure_debug: Migrate to the new Common::FS library * game_list_worker: Migrate to the new Common::FS library * config: Migrate to the new Common::FS library * configure_filesystem: Migrate to the new Common::FS library * configure_per_game_addons: Migrate to the new Common::FS library * configure_profile_manager: Migrate to the new Common::FS library * configure_ui: Migrate to the new Common::FS library * input_profiles: Migrate to the new Common::FS library * yuzu_cmd: config: Migrate to the new Common::FS library * yuzu_cmd: Migrate to the new Common::FS library * vfs_real: Migrate to the new Common::FS library * vfs: Migrate to the new Common::FS library * vfs_libzip: Migrate to the new Common::FS library * service: bcat: Migrate to the new Common::FS library * yuzu: main: Migrate to the new Common::FS library * vfs_real: Delete the contents of an existing file in CreateFile Current usages of CreateFile expect to delete the contents of an existing file, retain this behavior for now. * input_profiles: Don't iterate the input profile dir if it does not exist Silences an error produced in the log if the directory does not exist. * game_list_worker: Skip parsing file if the returned VfsFile is nullptr Prevents crashes in GetLoader when the virtual file is nullptr * common: fs: Validate paths for path length * service: filesystem: Open the mod load directory as read only
2021-05-22applets/swkbd: Make use of QueuedConnection in returnPressed signalMorph
Some users have reported rare crashes when pressing the Enter key on the keyboard to confirm input in the normal software keyboard, particularly in Super Smash Bros. Ultimate while entering the name of a ruleset or controller layout. It is suspected that the QLineEdit::returnPressed signal is causing a race condition as confirming input through other means does not produce the crash. Since Qt::QueuedConnection posts an event to the event queue of the callee's thread instead of executing it directly on the caller's thread, this eliminates any potential race conditions from occurring in this scenario.
2021-05-19applets/swkbd: Send the correct text string on TextCheck::ConfirmMorph
Previously the text string for the inline software keyboard was being sent instead of the normal software keyboard, leading to empty text being sent all the time.
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-24applets/swkbd: Fix software keyboard button hint scalingIts-Rei
Fixes the scaling of the button hints using background images. Now they scale like the rest of the elements.
2021-04-15applets/swkbd: Implement the Qt Software Keyboard frontendMorph
The Qt Software Keyboard frontend attempts to mimic the software keyboard rendered by the Nintendo Switch. This frontend implements multiple keyboard types, such as the normal software keyboard, the numeric pad software keyboard and the inline software keyboard. Keyboard and controller input is also supported in this frontend. Keyboard input is handled as native keyboard input, and so the on-screen keyboard cannot be navigated with the keyboard arrow keys as the arrow keys are used to move the text cursor. Controller input is translated into mouse hover movements on the onscreen keyboard or their respective button actions (B for backspace, A for entering the selected button, L/R for moving the text cursor, etc). The text check dialogs can also be confirmed with controller input through the use of the OverlayDialog Massive thanks to Rei for creating all the UI for the various keyboards and OverlayDialog. This would not have been possible without his excellent work. Co-authored-by: Its-Rei <kupfel@gmail.com>
2021-04-15error: Make the error code as the title text of the OverlayDialogMorph
Co-authored-by: Its-Rei <kupfel@gmail.com>
2021-04-15applets: Remove the previous software keyboard applet implementationMorph
2021-04-13applets/controller: Hook up the "Motion" button functionalityMorph
I forgot to hook this up during the development of the controller applet, this PR amends that.
2021-02-07hid: Implement GC controllergerman
2021-01-15core: Silence Wclass-memaccess warningsReinUsesLisp
This requires making several types trivial and properly initialize them whenever they are called.
2021-01-02general: Fix various spelling errorsMorph
2021-01-01configure_input: Modify controller connection delayMorph
Increases the controller connection delay to 60ms and refactors it to attempt to disconnect all controllers prior to connecting all controllers in HID.
2020-12-18applets/web: Implement the online web browser appletMorph
2020-12-18applets/web: Fix keyboard to emulated controller inputMorph
2020-12-18main, applets/web: Re-add progress dialog for RomFS extractionMorph
2020-12-18applets/web: Implement the Qt web browser applet frontendMorph
2020-12-18web_browser_scripts: Add injection scripts for the web browserMorph
2020-12-18applets: Remove the previous web browser applet implementationMorph
2020-12-05applets: Resolve variable shadowingMorph
2020-11-20applets/controller: Use a pair of emulated controller index to controller typeMorph
2020-11-15general: Fix compiler warnings on linux and miscellaneous changesMorph
2020-11-15applets/controller: Change the input button to create input profilesMorph
Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-11-15input: Disconnect a controller prior to connecting a new oneMorph
Some games do not respond to a change in controller type if 1) The controller is not disconnected prior to being reconnected and/or 2) The controller is reconnected instantly after being disconnected. Since it is not possible to change controllers instantly on hardware and requiring a disconnect prior to connecting a new one, we should emulate this as well with a small delay, fixing the aforementioned issue.
2020-11-15input_common: Add VibrationDevice and VibrationDeviceFactoryMorph
A vibration device is an input device that returns an unsigned byte as status. It represents whether the vibration device supports vibration or not. If the status returns 1, it supports vibration. Otherwise, it does not support vibration.
2020-11-15configure_input: Add per-player vibrationMorph
Allows for enabling and modifying vibration and vibration strength per player. Also adds a toggle for enabling/disabling accurate vibrations. Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-11-15settings: Remove global vibration strength modifierMorph
This will be replaced in favor of per-player vibration strength modifiers.
2020-11-15configure_input: Hook up the vibration percentage spinboxMorph
This allows setting the vibration strength percentage anywhere from 1% to 100%. Also hooks up the remaining motion button and checkbox in the Controller Applet.
2020-11-15settings: Preparation for per-game input settingsMorph
2020-11-15applets/controller: Auto accept a valid single player configurationMorph
2020-11-15ui/themes: Cleanup UIMorph
2020-10-26Merge pull request #4834 from lioncash/copy-fnbunnei
controller: Pass ControllerParameters by reference in ReconfigureControllers()
2020-10-26controller: Pass ControllerParameters by reference in ReconfigureControllers()Lioncash
Prevents unnecessary copies and heap reallocations from occurring.
2020-10-25Merge pull request #4827 from lioncash/truncRodrigo Locatti
controller: Convert led_patterns integer literals to bool literals
2020-10-25Merge pull request #4828 from lioncash/lockguardRodrigo Locatti
general: Use template deduction guides for lock_guard
2020-10-25general: Use template deduction guides for lock_guardLioncash
Same behavior, less code.
2020-10-25controller: Convert led_patterns integer literals to bool literalsLioncash
'bool' isn't always guaranteed to be the same size as an int, so this can technically cause truncation warnings if we support other platforms.
2020-10-25applets/profile_select: Resolve a warning in exec()Morph
Resolves a warning where not all control paths return a value.
2020-10-22Don't ask for profile when there's only one.Kewlan
2020-09-04applets/controller: Resolve several compiler warningsMorph
Resolves -Wsign-compare and -Wunused-variable
2020-09-04Address feedbackMorph