summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration
AgeCommit message (Collapse)Author
2020-11-17configure_input_player: Use static qualifier for IsProfileNameValid()Lioncash
This is a static member function, so we don't need use an existing instance to call this function.
2020-11-15configure_input: Accommodate for the mouse input device engineMorph
2020-11-15configure_input: Update the input profiles for other player tabsMorph
2020-11-15general: Fix compiler warnings on linux and miscellaneous changesMorph
2020-11-15sdl_impl: Revert to the "old" method of mapping sticksMorph
Not all controllers have a SDL_GameController binding. This caused controllers not present in the SDL GameController database to have buttons mapped instead of axes. Furthermore, it was not possible to invert the axes when it could be useful such as emulating a horizontal single joycon or other potential cases. This allows us to invert the axes by reversing the order of mapping (vertical, then horizontal).
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-15configure_input_player: Change "Defaults" button behaviorMorph
RestoreDefaults() now restores the selected devices' mappings using UpdateMappingWithDefaults(). This allows us to move the keyboard mapping from RestoreDefaults() to UpdateMappingWithDefaults().
2020-11-15settings: Preparation for per-game input settingsMorph
2020-11-15config: Migrate config files into config/customMorph
Co-authored-by: lat9nq <lat9nq@virginia.edu>
2020-11-15controllers/npad: Connect a controller on init if none are connectedMorph
2020-11-15input_profiles: Implement input profilesMorph
2020-11-15configure_input_player: Implement input exclusivity and persistenceMorph
With this, the "Input Devices" combobox should accurately reflect the input device being used and disallows inputs from other input devices unless the input device is set to "Any".
2020-11-15ui/themes: Cleanup UIMorph
2020-11-04core/settings: Move configuring_global behind an APILioncash
Rather than have directly modified global state here, we can make it an implementation detail and have an interface that changes are queried through.
2020-10-26yuzu: settings: Enable multicore, asynch GPU, and assembly shaders by default.bunnei
- In general, this is now the preferred settings for most games. # Conflicts: # src/yuzu/configuration/config.cpp
2020-10-26video_core: NVDEC Implementationameerj
This commit aims to implement the NVDEC (Nvidia Decoder) functionality, with video frame decoding being handled by the FFmpeg library. The process begins with Ioctl commands being sent to the NVDEC and VIC (Video Image Composer) emulated devices. These allocate the necessary GPU buffers for the frame data, along with providing information on the incoming video data. A Submit command then signals the GPU to process and decode the frame data. To decode the frame, the respective codec's header must be manually composed from the information provided by NVDEC, then sent with the raw frame data to the ffmpeg library. Currently, H264 and VP9 are supported, with VP9 having some minor artifacting issues related mainly to the reference frame composition in its uncompressed header. Async GPU is not properly implemented at the moment. Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com>
2020-10-22Merge pull request #4792 from bunnei/rtc-fixbunnei
service: time: Update current time with changes to RTC setting.
2020-10-20configure_input_player: Fix modifier buttonsMorph
Fix them for real this time, now they finally work.
2020-10-15input_common/CMakeLists: Make some warnings errorsLioncash
Makes the input_common code warnings consistent with the rest of the codebase.
2020-10-12service: time: Update current time with changes to RTC setting.bunnei
- This can be used to advance time, e.g. for Pokemon Sword/Shield pokejobs.
2020-09-18configure_input_player: Fixes motion mapping using ConfigureButtonClickMorph
2020-09-17configure_input_player: Re-add "Clear" context menu optionMorph
The context menu was removed in Mjölnir Part 1 as part of the input rewrite as we were unaware of it's usage statistics. However, as this was the only way to clear the inputs of individual buttons, this PR will re-add it back in.
2020-09-17Merge pull request #4594 from german77/MotionHIDbunnei
hid/configuration: Implement motion controls to HID
2020-09-10Merge pull request #4597 from Morph1984/mjolnir-p2bunnei
Project Mjölnir: Part 2 - Controller Applet
2020-09-10Merge pull request #4608 from lioncash/sign3bunnei
configure_input_player: Resolve sign conversion warnings in UpdateMappingWithDefaults()
2020-09-05configure_input: Hook up the motion button and checkboxMorph
This allows toggling motion on or off, and allows access to the motion configuration. Also changes the [waiting] text for motion buttons to Shake! as this is how motion is connected to a player.
2020-09-04Add cemu hook changes related to PR #4609german
2020-09-04configure_input_player: Show/hide motion buttons based on the controllerMorph
2020-09-04Include HID and configuration changes related to motiongerman
2020-09-04clang-formatMorph
2020-09-04Project Mjölnir: Part 2 - Controller AppletMorph
Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-30Address second batch of reviewsFearlessTobi
2020-08-29configure_input_player: Resolve sign conversion warnings in ↵Lioncash
UpdateMappingWithDefaults() Prevents sign mismatch warnings in the loop conditionals.
2020-08-29Reolve reorder warningFearlessTobi
2020-08-29Address review comments and fix code compilationFearlessTobi
2020-08-29yuzu: Add motion and touch configurationFearlessTobi
2020-08-29yuzu/configuration: Fix index out of bounds for default_analogsMorph
2020-08-27input_common: Eliminate most global stateLioncash
Abstracts most of the input mechanisms under an InputSubsystem class that is managed by the frontends, eliminating any static constructors and destructors. This gets rid of global accessor functions and also allows the frontends to have a more fine-grained control over the lifecycle of the input subsystem. This also makes it explicit which interfaces rely on the input subsystem instead of making it opaque in the interface functions. All that remains to migrate over is the factories, which can be done in a separate change.
2020-08-26configure_input_player: Fix modifier scale button mappingMorph
2020-08-26configuration/input: Add support for mouse button clicksMorph
Supports the Left, Right, Middle, Backward and Forward mouse buttons.
2020-08-26Address feedbackMorph
2020-08-26Project Mjölnir: Part 1Morph
Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-21Merge pull request #4541 from MerryMage/yolobunnei
dynarmic: Add unsafe optimizations
2020-08-18Merge pull request #4532 from lioncash/object-namebunnei
configuration_shared: Simplify name lookup in highlighting functions
2020-08-17Merge pull request #4535 from lioncash/fileutilbunnei
common/fileutil: Convert namespace to Common::FS