aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_input_player.cpp
AgeCommit message (Collapse)Author
2020-11-15settings: Preparation for per-game input settingsMorph
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-10-20configure_input_player: Fix modifier buttonsMorph
Fix them for real this time, now they finally work.
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 #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-08-29configure_input_player: Resolve sign conversion warnings in ↵Lioncash
UpdateMappingWithDefaults() Prevents sign mismatch warnings in the loop conditionals.
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-13General: Tidy up clang-format warnings part 2Lioncash
2020-08-03yuzu: Resolve C++20 deprecation warnings related to lambda capturesLioncash
C++20 deprecates capturing the this pointer via the '=' capture. Instead, we replace it or extend the capture specification.
2020-07-02Fix unnecessary diffsAmeer
2020-07-02Add LR triggers as axes, half press to initiate a press, add GC axis id in ↵Ameer
config, clarify some code blocks for better readability
2020-06-22Small quality of life indication that mapped button is GCAmeer
2020-06-21Singleton GC Adapter class, remove globals, fix naming conventionAmeer
Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command
2020-06-21Clang FormattingAmeer
2020-06-21GC Adapter ImplementationAmeer
2020-06-03Actually save the input when clearing/resetting to defaultFearlessTobi
Co-Authored-By: xperia64 <xperiancedapps@gmail.com>
2020-04-23Edit modifier_scale with the deadzone sliderKewlan
2020-04-05yuzu/configuration: Only assert that all buttons exist when we are handling ↵FearlessTobi
the click for a button device This fixes failed assertions that were present in yuzu master code for 18 months.
2020-01-03const correctionCJBok
2020-01-03clangCJBok
2020-01-03Update configure_input_player.cppCJBok
2020-01-03Added deadzone controls for sdl engine at input settingsCJBok
2019-10-10fixed clang format & addressed feedbackFreddyFunk
2019-10-10yuzu/configure_input_player: Fix input handling for ZL and ZR from ↵FreddyFunk
controllers with analog triggers
2019-09-03Add cancel option to analog stick configurationfearlessTobi
Co-Authored-By: Vitor K <vitor-k@users.noreply.github.com>
2019-08-02Qt: Fixed behaviour of buttons by connecting functors to correct signalsSilent
Following screens got fixes: - Configure/Debug - Configure/Input
2019-06-05yuzu/configuration: Make all widgets and dialogs aware of language changesLioncash
To prepare for translation support, this makes all of the widgets cognizant of the language change event that occurs whenever installTranslator() is called and automatically retranslates their text where necessary. This is important as calling the backing UI's retranslateUi() is often not enough, particularly in cases where we add our own strings that aren't controlled by it. In that case we need to manually refresh the strings ourselves.
2019-06-05yuzu/configuration: Make function naming consistentLioncash
2019-05-19yuzu/configuration/configure_input_player: Clean up array accessesLioncash
Rather than repeatedly index arrays that have quite a large array index, we can just use a named variable instead.
2019-05-19yuzu/configuration/configure_input_player: Specify string conversions explicitlyLioncash
Allows the player input configuration code to compile with implicit string conversions disabled.
2019-01-17yuzu/configuration/configure_input_player: Forward declare types where ↵Lioncash
applicable Allows removing the inclusion of the main input common header from the UI config header.
2018-12-05configure_input: Add ConfigureInputSimple as default input UI configZach Hilman
Greatly simplifies the current input UI, while still allowing power users to tweak advanced settings. Adds 'input profiles', which are easy autoconfigurations to make getting started easy and fast. Also has a custom option which brings up the current, full UI.
2018-11-27yuzu/configure_input_player: Use std::size_t to represent the player index ↵Lioncash
instead of u8 Prevents compiler warnings related to truncation when invoking the dialog. It's also extremely suspect to use a u8 value here instead of a more general type to begin with.
2018-11-27yuzu/configure_input_player: Use a lambda expression instead of std::bindLioncash
std::bind is the pre-C++11 way of doing this.
2018-11-27yuzu/configure_input_player: Amend constructor initializer list orderLioncash
Orders the elements the way they would actually be initialized in. Resolves compiler warnings with gcc and clang
2018-11-27yuzu/configure_input: Remove unused function MoveGridElementLioncash
2018-11-18configure_input: Make None a controller option instead of checkboxZach Hilman
2018-11-18hid: Use player-defined controller type as PREFERRED_CONTROLLERZach Hilman