Age | Commit message (Collapse) | Author |
|
|
|
input_common: Fix data race on GC implementation
|
|
|
|
|
|
input_common: Add alternative string for joycons
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To keep the TAS inputs synced to the game speed even through lag spikes and loading zones, deeper access is required.
First, the `TAS::UpdateThread` has to be executed exactly once per frame. This is done by connecting it to the service method the game calls to pass parameters to the GPU: `Service::VI::QueueBuffer`.
Second, the loading time of new subareas and/or kingdoms (SMO) can vary. To counteract that, the `CPU_BOOST_MODE` can be detected: In the `APM`-interface, the call to enabling/disabling the boost mode can be caught and forwarded to the TASing system, which can pause the script execution if neccessary and enabled in the settings.
|
|
The base playback system supports up to 8 controllers (specified by `PLAYER_NUMBER` in `tas_input.h`), which all change their inputs simulataneously when `TAS::UpdateThread` is called.
The recording system uses the controller debugger to read the state of the first controller and forwards that data to the TASing system for recording. Currently, this process sadly is not frame-perfect and pixel-accurate.
Co-authored-by: Naii-the-Baf <sfabian200@gmail.com>
Co-authored-by: Narr-the-Reg <juangerman-13@hotmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
input_common: Make button threshold customizable
|
|
input_common: Support SDL toggle buttons
|
|
- value return can be different 0, is not error is normal, error is only -1.
|
|
yuzu-cmd: Linux Vulkan fixes
|
|
|
|
Fixed upstream by
libsdl-org/SDL@25fc40b0bd44c484051064bc6b945ea9943f88dd
|
|
|
|
settings: Eliminate usage of float-point setting values
|
|
|
|
|
|
|
|
general: Move most settings' defaults and labels into their definition
|
|
Slight improvements to readability.
Dropped suggestions for string_view (settings.h:101), pass by value
(settings.h:82), reverting double to a float (config.cpp:316), and other
smaller ones, some out of scope.
Addresses review feedback.
Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
|
|
Treats (un)signed comparison mismatches as errors to be consistent with MSVC
|
|
general: Enforce multiple warnings in MSVC
|
|
|
|
bcat: Fix settings access
telemetry_session: Fix settings accesses
So this is what I get for testing with the web service disabled.
touch_from_button: Fix settings access for clang
|
|
Creates a new BasicSettings class in common/settings, and forces setting
a default and label for each setting that uses it in common/settings.
Moves defaults and labels from both frontends into common settings.
Creates a helper function in each frontend to facillitate reading the
settings now with the new default and label properties.
Settings::Setting is also now a subclass of Settings::BasicSetting. Also
adds documentation for both Setting and BasicSetting.
|
|
|
|
|
|
* Add missing includes
* Add array
|
|
Fix data race using std::jthread and std::stop_token.
|
|
cmake: Use autotools for libusb linking generally on GNU, and cleanup
|
|
input_common: Analog button, use time based position
|
|
Delegates libusb external communication to externals/CMakeLists.txt
Ensures an interface library `usb` for every pathway
input_common just links to the `usb` library now
externals/libusb/CMakeLists.txt sets variables to override SDL2's libusb
finding
Other minor cleanup
|
|
input_common: Add dual joycon support
|
|
|
|
input_common: Rewrite sdl analog mapping and fix controller disconnection crash
|
|
|
|
input_common: Sanitize motion data
|
|
|