aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/applets/controller.cpp
Commit message (Collapse)AuthorAgeFilesLines
* applets: Append qt_ prefix to Qt frontend appletsMorph2021-07-141-695/+0
|
* applets/controller: Hook up the "Motion" button functionalityMorph2021-04-131-0/+16
| | | | I forgot to hook this up during the development of the controller applet, this PR amends that.
* hid: Implement GC controllergerman2021-02-071-1/+8
|
* configure_input: Modify controller connection delayMorph2021-01-011-1/+1
| | | | Increases the controller connection delay to 60ms and refactors it to attempt to disconnect all controllers prior to connecting all controllers in HID.
* applets: Resolve variable shadowingMorph2020-12-051-2/+2
|
* applets/controller: Use a pair of emulated controller index to controller typeMorph2020-11-201-44/+79
|
* general: Fix compiler warnings on linux and miscellaneous changesMorph2020-11-151-2/+3
|
* applets/controller: Change the input button to create input profilesMorph2020-11-151-12/+8
| | | | Co-authored-by: Its-Rei <kupfel@gmail.com>
* input: Disconnect a controller prior to connecting a new oneMorph2020-11-151-25/+37
| | | | | | 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.
* input_common: Add VibrationDevice and VibrationDeviceFactoryMorph2020-11-151-0/+2
| | | | | | 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.
* configure_input: Add per-player vibrationMorph2020-11-151-0/+16
| | | | | | | 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>
* settings: Remove global vibration strength modifierMorph2020-11-151-2/+0
| | | | This will be replaced in favor of per-player vibration strength modifiers.
* configure_input: Hook up the vibration percentage spinboxMorph2020-11-151-0/+4
| | | | | 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.
* settings: Preparation for per-game input settingsMorph2020-11-151-15/+15
|
* applets/controller: Auto accept a valid single player configurationMorph2020-11-151-11/+18
|
* Merge pull request #4834 from lioncash/copy-fnbunnei2020-10-261-1/+1
|\ | | | | controller: Pass ControllerParameters by reference in ReconfigureControllers()
| * controller: Pass ControllerParameters by reference in ReconfigureControllers()Lioncash2020-10-261-1/+1
| | | | | | | | Prevents unnecessary copies and heap reallocations from occurring.
* | Merge pull request #4827 from lioncash/truncRodrigo Locatti2020-10-251-9/+9
|\ \ | |/ |/| controller: Convert led_patterns integer literals to bool literals
| * controller: Convert led_patterns integer literals to bool literalsLioncash2020-10-251-9/+9
| | | | | | | | | | '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.
* | general: Use template deduction guides for lock_guardLioncash2020-10-251-1/+1
|/ | | | Same behavior, less code.
* applets/controller: Resolve several compiler warningsMorph2020-09-041-6/+6
| | | | Resolves -Wsign-compare and -Wunused-variable
* Address feedbackMorph2020-09-041-2/+3
|
* clang-formatMorph2020-09-041-1/+2
|
* applets/controller: Load configuration prior to setting up connectionsMorph2020-09-041-20/+26
| | | | This avoids unintentionally changing the states of elements while loading them in.
* applets/controller: Make 8 a static constexpr value of NUM_PLAYERSMorph2020-09-041-5/+10
| | | | Avoids repetitive usages of the int literal '8' or calls to player_widgets.size()
* applets/controller: Implement "Explain Text"Morph2020-09-041-0/+20
| | | | "Explain Text" is additional text that is shown for each player in the controller applet.
* Project Mjölnir: Part 2 - Controller AppletMorph2020-09-041-0/+568
Co-authored-by: Its-Rei <kupfel@gmail.com>