summaryrefslogtreecommitdiff
path: root/src/yuzu/applets
AgeCommit message (Collapse)Author
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
2020-09-04clang-formatMorph
2020-09-04applets/controller: Load configuration prior to setting up connectionsMorph
This avoids unintentionally changing the states of elements while loading them in.
2020-09-04applets/controller: Make 8 a static constexpr value of NUM_PLAYERSMorph
Avoids repetitive usages of the int literal '8' or calls to player_widgets.size()
2020-09-04applets/controller: Implement "Explain Text"Morph
"Explain Text" is additional text that is shown for each player in the controller applet.
2020-09-04Project Mjölnir: Part 2 - Controller AppletMorph
Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-16common/fileutil: Convert namespace to Common::FSLioncash
Migrates a remaining common file over to the Common namespace, making it consistent with the rest of common files. This also allows for high-traffic FS related code to alias the filesystem function namespace as namespace FS = Common::FS; for more concise typing.
2020-04-16General: Resolve warnings related to missing declarationsLioncash
2019-06-24web_browser: Rename OpenPage to OpenPageLocalZach Hilman
This is more representative of what actually occurs, as web does support remote URLs which wouldn't need a romfs callback. This paves for easy future support of this with a call like 'OpenPageRemote' or similar.
2019-06-07constants: Extract backup JPEG used by account servicesZach Hilman
2019-06-05Merge pull request #2527 from lioncash/indexZach Hilman
yuzu/{profile_select, software_keyboard}: Tidy up interface
2019-05-30Merge pull request #1931 from DarkLordZach/mii-database-1bunnei
mii: Implement MiiManager backend and several mii service commands
2019-05-29yuzu/software_keyboard: Remove unnecessary GetStatus() member functionLioncash
Like with the profile selection dialog, we can just use the result of QDialog's exec() function to determine whether or not a dialog was accepted.
2019-05-29profile_select: Remove unnecessary GetStatus() member functionLioncash
This behavior is already provided by the built-in exec() function. We just need to check the return value of it.
2019-05-29profile_select: Return int instead of u32 for GetIndex()Lioncash
Qt uses a signed value to represent indices. We should follow this convention where applicable to avoid unnecessary sign-conversion warnings, as well as making it easier to interoperate with other aspects of Qt. While we're at it, we can also make a sign-conversion explicit.
2019-05-24yuzu/applets/software_keyboard: Remove unused assert headerLioncash
This isn't actually used anywhere, so it can be removed.
2019-05-24yuzu/applets/software_keyboard: std::move argument in MainWindowFinishedText()Lioncash
Given the std::optional can contain an object type that heap allocates, we can use std::move to avoid an unnecessary copy/allocation from occurring.
2019-05-24yuzu/applets/software_keyboard: Resolve sign mismatch comparisonLioncash
Qt uses a signed value to represent container sizes, so this was causing a sign mismatch warning.
2019-05-24yuzu/applets/software_keyboard: Specify string conversions explicitlyLioncash
Allows the software keyboard applet code to compile with implicit string conversions disabled.
2019-05-24yuzu/applets/error: Specify string conversions explicitlyLioncash
Allows the error applet to build successfully with implicit string conversions disabled.
2019-05-19Merge pull request #2468 from lioncash/deductionHexagon12
yuzu: Remove explicit types from locks where applicable
2019-05-19yuzu/applets/profile_select: Mark header string as translatableLioncash
This is a user-facing string, so it should be marked as translatable.
2019-05-14yuzu: Remove explicit types from locks where applicableLioncash
With C++17's deduction guides, the type doesn't need to be explicitly specified within locking primitives anymore.
2019-04-25profile_select: Port Service::Account::UUID to Common::UUIDZach Hilman
2019-04-17web_browser: Make OpenPage non-constZach Hilman
2019-04-17qt: Add dialog implementation of Error appletZach Hilman
2019-04-17web_browser: Make OpenPage constZach Hilman
2019-04-09Merge pull request #2132 from FearlessTobi/port-4437bunnei
Port citra-emu/citra#4437: "citra-qt: Make hotkeys configurable via the GUI (Attempt 2)"