Narr the Reg
ca0d1fd4f1
yuzu: Silence some clang warnings
3 years ago
lat9nq
554b7e220b
yuzu: Use a debugger to generate minidumps
yuzu: Move mini_dump out of core
startup_checks: Better exception handling
4 years ago
Liam
c1771c98f3
common: Change semantics of UNREACHABLE to unconditionally crash
4 years ago
Morph
2b87305d31
general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
4 years ago
ameerj
012963c513
yuzu: Reduce unused includes
4 years ago
Narr the Reg
6b132458dc
yuzu: config: Vibrate the controller while configuring vibration strength
4 years ago
german77
8b989ac3ae
controller_applet: Only populate supported controllers
4 years ago
german77
5dab578691
core/hid: Fix controller type validation
4 years ago
bunnei
5192e8e092
core: hle: Remove global HLE lock.
- This was added early on as a hack to protect against some concurrency issues.
- It's not clear that this serves any purpose anymore, and if it does, individual components should be fixed rather than using a global recursive mutex.
4 years ago
Morph
1524ed6776
qt_controller: Make use of (Enable/Disable)AllControllerConfiguration
This also moves the use of DisableConfiguration to the destructor.
4 years ago
german77
d7065ddfda
qt_controller: Fix input when the controller applet is ignored
4 years ago
german77
8df8dd6c5c
config: Remove vibration configuration
4 years ago
german77
83c9e8c4a2
applet/controller: Enable configuring mode while the applet is open
4 years ago
german77
8517d89be0
core/hid: Rename NpadType to NpadStyleIndex
4 years ago
german77
4736326a05
second commit lion review
4 years ago
german77
a8852024b6
settings: Fix Debug controller type options
4 years ago
german77
6743753bc7
web_applet: Replace HIDButton with NpadButton
4 years ago
german77
6774c7988b
configuration: Migrate controller settings to emulated controller
4 years ago
german77
a197599d08
core: Update input interpreter
4 years ago
german77
5709d1271e
Qt_applets: Use new input
4 years ago
lat9nq
3aec34df0a
yuzu qt: Remove global system instances from config, WaitTree, main
4 years ago
Morph
30498f3ce8
applets: Append qt_ prefix to Qt frontend applets
5 years ago
Morph
0cff324521
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
020c22f53d
hid: Implement GC controller
5 years ago
Morph
dd73d7eb8e
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
6efd390668
applets: Resolve variable shadowing
5 years ago
Morph
75aa6e9beb
applets/controller: Use a pair of emulated controller index to controller type
5 years ago
Morph
75ee0c94a0
general: Fix compiler warnings on linux and miscellaneous changes
5 years ago
Morph
f80127d4e0
applets/controller: Change the input button to create input profiles
Co-authored-by: Its-Rei <kupfel@gmail.com>
5 years ago
Morph
ad45ceeaf0
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
ad3905fe27
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
cce389221b
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
ee8ec56291
settings: Remove global vibration strength modifier
This will be replaced in favor of per-player vibration strength modifiers.
5 years ago
Morph
06bc7678ba
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
1c1a83a20d
settings: Preparation for per-game input settings
5 years ago
Morph
a7dd4f21dd
applets/controller: Auto accept a valid single player configuration
5 years ago
Lioncash
c3f019b9eb
controller: Pass ControllerParameters by reference in ReconfigureControllers()
Prevents unnecessary copies and heap reallocations from occurring.
5 years ago
Lioncash
59a56fa810
general: Use template deduction guides for lock_guard
Same behavior, less code.
5 years ago
Lioncash
652c36ef9c
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
0ce52a8070
applets/controller: Resolve several compiler warnings
Resolves -Wsign-compare and -Wunused-variable
5 years ago
Morph
5c853d4dc7
Address feedback
5 years ago
Morph
0efbd23445
clang-format
5 years ago
Morph
38fcde96d7
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
afa931cb3c
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
00df69232a
applets/controller: Implement "Explain Text"
"Explain Text" is additional text that is shown for each player in the controller applet.
5 years ago
Morph
4c621b9b09
Project Mjölnir: Part 2 - Controller Applet
Co-authored-by: Its-Rei <kupfel@gmail.com>
5 years ago