summaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_input.cpp
AgeCommit message (Collapse)Author
2022-04-16yuzu: Add custom ringcon configurationgerman77
2022-03-20yuzu: Reduce unused includesameerj
2022-02-02yuzu: config: Vibrate the controller while configuring vibration strengthNarr the Reg
2021-11-24core/hid: Fully implement native mousegerman77
2021-11-24settings: Remove includes of core.hgerman77
2021-11-24configuration: Migrate controller settings to emulated controllergerman77
2021-11-24hid: Fix controller connection/disconnectiongerman77
2021-11-24kraken: Fix errors from rebase and format filesgerman77
2021-11-24yuzu: Update frontendgerman77
2021-10-07yuzu qt: Remove global system instances from config, WaitTree, mainlat9nq
2021-01-23Fix connect and disconnect controller eventsgerman
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-11-15configure_input: Update the input profiles for other player tabsMorph
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-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-09-17Merge pull request #4594 from german77/MotionHIDbunnei
hid/configuration: Implement motion controls to HID
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-04clang-formatMorph
2020-09-04Project Mjölnir: Part 2 - Controller AppletMorph
Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-29Address review comments and fix code compilationFearlessTobi
2020-08-29yuzu: Add motion and touch configurationFearlessTobi
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-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>
2019-09-16When docked mode is checked, uncheck "joycons docked"Morph
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: Mark controller type names as translateableLioncash
These are user-facing strings, so they should be localizable.
2018-12-05configure_input_simple: Properly signal docked mode changeZach Hilman
2018-12-05configure_input: Convert into QDialogZach Hilman
2018-12-02yuzu/configuration/configure_input: Default destructor in the cpp fileLioncash
The previous code could potentially be a compilation issue waiting to occur, given we forward declare the type for a std::unique_ptr. If the complete definition of the forward declared type isn't visible in a translation unit that the class is used in, then it would fail to compile. Defaulting the destructor in a cpp file ensures the std::unique_ptr's destructor is only invoked where its complete type is known.
2018-11-30configure_input: Amend clang-format discrepanciesLioncash
2018-11-29Merge pull request #1768 from greggameplayer/patch-2bunnei
Uncheck automatically joycons docked when docked mode is enable
2018-11-27yuzu/configure_input: Make CallConfigureDialog a non-member template functionLioncash
This doesn't depend on any part of the private interface, so it can be made a non-member internal function.
2018-11-27yuzu/configure_input: Remove unnecessary includesLioncash
2018-11-22correct clang-formatgreggameplayer
2018-11-22Automatically disable joycons dockedgreggameplayer
when docked mode is enable
2018-11-18configure_input: Properly update UI components on removal of playerZach Hilman
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
2018-11-18configure_input: Add support for multiplayer and controller typesZach Hilman
This moves the actual button configuration to a separate dialog and only has the enabled and type controls in the tab.
2018-10-30global: Use std::optional instead of boost::optional (#1578)Frederic L
* get rid of boost::optional * Remove optional references * Use std::reference_wrapper for optional references * Fix clang format * Fix clang format part 2 * Adressed feedback * Fix clang format and MacOS build
2018-10-06citra_qt/configuration: misc input tab improvementszhupengfei
* Added a context menu on the buttons including Clear & Restore Default * Allow clearing (unsetting) inputs. Added a Clear All button * Allow restoring a single input to default (instead of all)
2018-10-02configure_input: Make analog mapping strings translatableLioncash
These strings are user-facing, so they should be specified as translatable with tr().
2018-09-10Port #4141 from citra: Joystick hotplug support (#1275)Tobias
* Joystick hotplug support (#4141) * use SDL_PollEvent instead of SDL_JoystickUpdate Register hot plugged controller by GUID if they were configured in a previous session * Move SDL_PollEvent into its own thread * Don't store SDLJoystick pointer in Input Device; Get pointer on each GetStatus call * Fix that joystick_list gets cleared after SDL_Quit * Add VirtualJoystick for InputDevices thats never nullptr * fixup! Add VirtualJoystick for InputDevices thats never nullptr * fixup! fixup! Add VirtualJoystick for InputDevices thats never nullptr * Remove SDL_GameController, make SDL_Joystick* unique_ptr * fixup! Remove SDL_GameController, make SDL_Joystick* unique_ptr * Adressed feedback; fixed handling of same guid reconnects * fixup! Adressed feedback; fixed handling of same guid reconnects * merge the two joystick_lists into one * make SDLJoystick a member of VirtualJoystick * fixup! make SDLJoystick a member of VirtualJoystick * fixup! make SDLJoystick a member of VirtualJoystick * fixup! fixup! make SDLJoystick a member of VirtualJoystick * SDLJoystick: Addressed review comments * Address one missed review comment