german77
a4a0638bc8
applet/controller: Enable configuring mode while the applet is open
4 years ago
german77
5d0f3540c4
core/hid: Rename NpadType to NpadStyleIndex
4 years ago
german77
77fa4d4bf6
second commit lion review
4 years ago
german77
730f078302
settings: Fix Debug controller type options
4 years ago
german77
cc651c7c99
web_applet: Replace HIDButton with NpadButton
4 years ago
german77
af55dd1935
configuration: Migrate controller settings to emulated controller
4 years ago
german77
e14ae06391
core: Update input interpreter
4 years ago
german77
8fff6d6c67
Qt_applets: Use new input
4 years ago
lat9nq
fb66a455c4
yuzu qt: Remove global system instances from config, WaitTree, main
4 years ago
Morph
9a48f252ae
applets: Append qt_ prefix to Qt frontend applets
5 years ago
Morph
10ca4c9490
applets/controller: Hook up the "Motion" button functionality
I forgot to hook this up during the development of the controller applet, this PR amends that.
5 years ago
german
a994a40467
hid: Implement GC controller
5 years ago
Morph
904ac1daec
configure_input: Modify controller connection delay
Increases the controller connection delay to 60ms and refactors it to attempt to disconnect all controllers prior to connecting all controllers in HID.
5 years ago
Morph
f6d4a289d5
applets: Resolve variable shadowing
5 years ago
Morph
8758378dc4
applets/controller: Use a pair of emulated controller index to controller type
5 years ago
Morph
97b2220a82
general: Fix compiler warnings on linux and miscellaneous changes
5 years ago
Morph
760a9e8693
applets/controller: Change the input button to create input profiles
Co-authored-by: Its-Rei <kupfel@gmail.com>
5 years ago
Morph
91c06dae1a
input: Disconnect a controller prior to connecting a new one
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.
5 years ago
Morph
e9e1876e82
input_common: Add VibrationDevice and VibrationDeviceFactory
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.
5 years ago
Morph
38110dd485
configure_input: Add per-player vibration
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>
5 years ago
Morph
d6a41cfc21
settings: Remove global vibration strength modifier
This will be replaced in favor of per-player vibration strength modifiers.
5 years ago
Morph
652d6766d5
configure_input: Hook up the vibration percentage spinbox
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.
5 years ago
Morph
8f2959f680
settings: Preparation for per-game input settings
5 years ago
Morph
5cafa70d3b
applets/controller: Auto accept a valid single player configuration
5 years ago
Lioncash
6b5f565324
controller: Pass ControllerParameters by reference in ReconfigureControllers()
Prevents unnecessary copies and heap reallocations from occurring.
5 years ago
Lioncash
98f4c5e7b8
general: Use template deduction guides for lock_guard
Same behavior, less code.
5 years ago
Lioncash
061a63547f
controller: Convert led_patterns integer literals to bool literals
'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.
5 years ago
Morph
b65456b958
applets/controller: Resolve several compiler warnings
Resolves -Wsign-compare and -Wunused-variable
5 years ago
Morph
076e4d44c3
Address feedback
5 years ago
Morph
1ec71b6ea0
clang-format
5 years ago
Morph
72b2f5d34f
applets/controller: Load configuration prior to setting up connections
This avoids unintentionally changing the states of elements while loading them in.
5 years ago
Morph
aeec0f8a38
applets/controller: Make 8 a static constexpr value of NUM_PLAYERS
Avoids repetitive usages of the int literal '8' or calls to player_widgets.size()
5 years ago
Morph
5ce3015945
applets/controller: Implement "Explain Text"
"Explain Text" is additional text that is shown for each player in the controller applet.
5 years ago
Morph
5219615418
Project Mjölnir: Part 2 - Controller Applet
Co-authored-by: Its-Rei <kupfel@gmail.com>
5 years ago