Age | Commit message (Collapse) | Author |
|
I forgot to hook this up during the development of the controller applet, this PR amends that.
|
|
|
|
Increases the controller connection delay to 60ms and refactors it to attempt to disconnect all controllers prior to connecting all controllers in HID.
|
|
|
|
|
|
|
|
Co-authored-by: Its-Rei <kupfel@gmail.com>
|
|
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.
|
|
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.
|
|
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>
|
|
This will be replaced in favor of per-player vibration strength modifiers.
|
|
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.
|
|
|
|
|
|
controller: Pass ControllerParameters by reference in ReconfigureControllers()
|
|
Prevents unnecessary copies and heap reallocations from occurring.
|
|
controller: Convert led_patterns integer literals to bool literals
|
|
Same behavior, less code.
|
|
'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.
|
|
Resolves -Wsign-compare and -Wunused-variable
|
|
|
|
|
|
This avoids unintentionally changing the states of elements while loading them in.
|
|
Avoids repetitive usages of the int literal '8' or calls to player_widgets.size()
|
|
"Explain Text" is additional text that is shown for each player in the controller applet.
|
|
Co-authored-by: Its-Rei <kupfel@gmail.com>
|