summaryrefslogtreecommitdiff
path: root/src/yuzu/applets
AgeCommit message (Collapse)Author
2022-06-13common: Change semantics of UNREACHABLE to unconditionally crashLiam
2022-05-16qt_software_keyboard: Address review feedbacklat9nq
Use auto and a more descriptive variable name. Secondly, fix some C++ misconceptions or constructing too many objects. Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com> Co-authored-by: Lioncash <mathew1800@gmail.com>
2022-05-15qt_software_keyboard: Use Common::U16StringFromBufferlat9nq
See ffd3afcf2
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-23Add include to fix compilingShoegzer
2022-03-21qt_web_browser: Add missing includesameerj
2022-03-20yuzu: Reduce unused includesameerj
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
2022-02-02yuzu: config: Vibrate the controller while configuring vibration strengthNarr the Reg
2022-01-01controller_applet: Only populate supported controllersgerman77
2021-12-29core/hid: Fix controller type validationgerman77
2021-12-17core: hle: Remove global HLE lock.bunnei
- This was added early on as a hack to protect against some concurrency issues. - It's not clear that this serves any purpose anymore, and if it does, individual components should be fixed rather than using a global recursive mutex.
2021-12-13qt_software_keyboard: Fix out of bounds array accessMorph
We were unconditionally accessing the keyboard_buttons array, even if the bottom_osk_index was for the numberpad, leading to an out of bounds array access. Fix this by accessing the proper array for the current button when the index is for the numberpad.
2021-12-02yuzu: Implement basic controller navigationgerman77
2021-11-29qt_controller: Make use of (Enable/Disable)AllControllerConfigurationMorph
This also moves the use of DisableConfiguration to the destructor.
2021-11-28qt_controller: Fix input when the controller applet is ignoredgerman77
2021-11-26config: Remove vibration configurationgerman77
2021-11-26applet/controller: Enable configuring mode while the applet is opengerman77
2021-11-24core/hid: Rename NpadType to NpadStyleIndexgerman77
2021-11-24second commit lion reviewgerman77
2021-11-24settings: Fix Debug controller type optionsgerman77
2021-11-24web_applet: Replace HIDButton with NpadButtongerman77
2021-11-24configuration: Migrate controller settings to emulated controllergerman77
2021-11-24kraken: Fix errors from rebase and format filesgerman77
2021-11-24core: Update input interpretergerman77
2021-11-24Qt_applets: Use new inputgerman77
2021-11-24core/hid: Move input_interpreter to hidgerman77
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-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