flodavid
b881949b6d
yuzu: Enable controller interaction in Controller Applet
2 years ago
german77
11edba4974
applet: controller: Implement cancel button
3 years ago
Liam
50a59487eb
qt: implement RequestExit for applets
3 years ago
Narr the Reg
ff11fdb07e
Revert "yuzu: config: Remove player 8 and 9 from config file"
3 years ago
Narr the Reg
60688bf0d5
yuzu: config: Remove player 8 and 9 from config file
3 years ago
Lioncash
fedd857054
applets/controller: Use aliases for callbacks
3 years ago
Narr the Reg
5a74ced59a
yuzu: Silence some clang warnings
3 years ago
lat9nq
f958cbc737
yuzu: Use a debugger to generate minidumps
yuzu: Move mini_dump out of core
startup_checks: Better exception handling
4 years ago
Liam
084d7d6b01
common: Change semantics of UNREACHABLE to unconditionally crash
4 years ago
Morph
99ceb03a1c
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
936829e873
yuzu: Reduce unused includes
4 years ago
Narr the Reg
694c078655
yuzu: config: Vibrate the controller while configuring vibration strength
4 years ago
german77
133f497f84
controller_applet: Only populate supported controllers
4 years ago
german77
9ee5c4ec56
core/hid: Fix controller type validation
4 years ago
bunnei
c73841500a
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
b86fcf7c31
qt_controller: Make use of (Enable/Disable)AllControllerConfiguration
This also moves the use of DisableConfiguration to the destructor.
4 years ago
german77
dcc4685557
qt_controller: Fix input when the controller applet is ignored
4 years ago
german77
182cd9004f
config: Remove vibration configuration
4 years ago
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