summaryrefslogtreecommitdiff
path: root/src/yuzu/applets/controller.cpp
AgeCommit message (Collapse)Author
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-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-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>