summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/TAS
AgeCommit message (Collapse)Author
11 daysReplace string concatination with `fmt::format`Dr. Dystopia
2026-04-17Improve usage of std::move and const references parametersMartino Fontana
Accomplished using `run-clang-tidy` with `performance-move-const-arg,performance-unnecessary-value-param,modernize-pass-by-value`. Changed arguments to const references, removed them where inappropriate (e.g. sink parameters). Same with std::move. Manually reviewed each change to make sure that it makes sense, and do something more appropriate if possible.
2026-04-03TASInput: Let StickWidget and IRWidget shrinkDentomologist
Use `sizeHint` instead of `setMinimumSize` to increase the default size of `StickWidget` and `IRWidget`. 0531286906ec65edf3736813517496c95bf87ada doubled the initial sizes of `StickWidget` and `IRWidget`, but using `setMinimumSize` to do so prevented users from shrinking the widgets manually. Resolves bugs.dolphin-emu.org/issues/14019.
2026-03-12DolphinQt: Improve TAS UI WidgetsStavros Kosmas
Made Stick and IR Widgets bigger Improved Stick and IR layouts to better utilize space Made Stick and IR Widgets Scale at a fixed ratio when window is resized Added Scrollbars to Stick and IR Widgets Reduced Spinbox padding in dark style
2026-01-25Remove unused importsMartino Fontana
Yellow squiggly lines begone! Done automatically on .cpp files through `run-clang-tidy`, with manual corrections to the mistakes. If an import is directly used, but is technically unnecessary since it's recursively imported by something else, it is *not* removed. The tool doesn't touch .h files, so I did some of them by hand while fixing errors due to old recursive imports. Not everything is removed, but the cleanup should be substantial enough. Because this done on Linux, code that isn't used on it is mostly untouched. (Hopefully no open PR is depending on these imports...)
2026-01-17Fix various typos and spelling mistakesSintendo
2025-07-19fix Qt6 deprecation warningsoltolm
2025-06-07DolphinQt: Replace widespread SetQWidgetWindowDecorations calls with an ↵Jordan Woyak
event filter.
2025-06-06DolphinQt: Remove redundant window hintsDentomologist
Remove window hints clearing the flag Qt::WindowContextHelpButtonHint, which is already off by default in Qt 6. In Qt 5 this flag was set by default for QDialogs, and on Windows put a ? button in the corner of the title bar allowing users to activate Qt's QWhatsThis help system for a given widget. Since we don't set that text the ? button was useless and so we hid it manually.
2025-05-05DolphinQt/TAS: Use non-default std::atomic struct constructor to fix build ↵Jordan Woyak
with libstdc++ 15.
2025-03-15InputCommon/ControllerEmu: Break out functionality of EmulatedControllerJordan Woyak
to eliminate redundant unused members in Wii Remote extension objects.
2025-02-02Merge pull request #13208 from ↵Admiral H. Curtiss
Dentomologist/wiitasinputwindow_update_on_attachment_change WiiTASInputWindow: Update controls when attachment changes
2025-01-18WiiTASInputWindow: Update controls when attachment changesDentomologist
Change the displayed controls in the TAS Input window when the controller's extension (including MotionPlus) is changed. This previously required restarting Dolphin after the attachment was changed, as the controls were never updated after the WiiTASInputWindow was created at Dolphin startup.
2024-11-26IRWidget: Move header constants into classDentomologist
This apparently didn't compile on macOS six years ago before c++20, but it should be fine by now. While I'm at it, make the constants upper case per convention.
2024-05-31TAS Input: Enable hotkeys and controller input when Input has focusDentomologist
Enable emulator hotkeys and controller input (when that option is enabled) when a TAS Input window has focus, as if it was the render window instead. This allows TASers to use frame advance and the like without having to switch the focused window or disabling Hotkeys Require Window Focus which also picks up keypresses while other apps are active. Cursor updates are disabled when the TAS Input window has focus, as otherwise the Wii IR widget (and anything else controlled by the mouse) becomes unusable. The cursor continues to work normally when the render window has focus.
2024-05-01Core::IsRunning: Avoid Global System Accessormitaclaw
2024-01-15Core/Movie: Refactor to class, move to System.Admiral H. Curtiss
A bit of global state remains (the `header` in `BeginRecordingInput()`) due to unclear lifetime requirements.
2023-11-04DolphinQt: Remove unnecessary qOverloadsDentomologist
qOverload is used to disambiguate pointers to overloaded functions, but most of the usages in the code base were with non-overloaded functions.
2023-08-18DolphinQt/TASInputWindow: Make 'Enable Controller Input' translatable.xujibbs
2023-08-12DolphinQt: Set window decorations for all top-level QWidgets.Admiral H. Curtiss
2023-04-13Common/IniFile: Move interface into Common namespaceLioncash
Gets this out of the global namespace and into the Common namespace
2023-04-06DolphinQt: StickWidget and IRWidget check for changed x/y before signaling ↵sowens99
change
2023-03-12DolphinQt: Fix TAS widgets not updating with enable controller inputPokechu22
This regressed in 0300b44d23b149a0b93dd0aa2e77d20a02882ddf. Specifically, the sliders and the stick/IR widgets did not update, but the spin boxes did update.
2023-03-10DolphinQt: Add MotionPlus support to TAS inputJosJuice
Will manually controlling both an accelerometer and a gyroscope at the same time be reasonable to do? No idea. Was this easy to implement thanks to the input override system? Yes. Fixes https://bugs.dolphin-emu.org/issues/12443.
2023-03-08DolphinQt: Rework TAS input threading, part 2 (analog inputs)JosJuice
2023-03-08DolphinQt: Remove unneeded out parameters in TASInputWindowJosJuice
IIRC we needed this before the input override system was added.
2023-03-08DolphinQt: Rework TAS input threading, part 1 (buttons)JosJuice
This gets rid of a blocking operation, improving performance and fixing https://bugs.dolphin-emu.org/issues/12893. This also makes us no longer directly access the state of certain UI elements from the CPU thread, which probably wasn't thread-safe but doesn't seem to have caused any observable issues so far.
2023-01-12DolphinQt: Fix typo in GBA TAS input windowPokechu22
This generated a warning on GCC about the operation being potentially undefined (-Wsequence-point). I'm not sure if that was actually the case, but either way it is a mistake.
2022-12-24DolphinQt: Add settings to GBA TAS input windowJosJuice
We should expose Enable Controller Input and the turbo settings for GBA just like we do for GameCube controllers and Wii Remotes. I just forgot about it when implementing the GBA TAS input window.
2022-11-21DolphinQt: Add GBA TAS input windowJosJuice
When emulated GBAs were added to Dolphin, it was possible to control them using the GC TAS input window. (Z was mapped to Select.) Unaware of this, I broke the functionality in b296248. To make it possible to control emulated GBAs using TAS input again, I'm adding a proper TAS input window for GBAs, with a real Select button and no analog controls.
2022-10-03DolphinQt: Use input override system for TAS input windowsJosJuice
This lets the TAS input code use a higher-level interface for overriding inputs instead of having to fiddle with raw bits. WiiTASInputWindow in particular was messy with how much controller code it had to re-implement.
2022-05-02Add support for building against Qt 6spycrab
2021-12-10Treewide: Adjust order of includesPokechu22
2021-10-13Fix all uninitialized variable warnings (C26495)Pokechu22
2021-09-20Inscribe StickWidget ellipse in squaresowens99
Previously, it was not clear where the boundary of the StickWidget was when interacting outside of the circle. This aims to restore the gray square present in the Wx-era.
2021-09-19DolphinQt: Reduce latency of TAS input's controller input passthroughJosJuice
Fixes https://bugs.dolphin-emu.org/issues/12676. Needs testing to see if this impacts performance when controller inputs are changing.
2021-07-05treewide: convert GPLv2+ license info to SPDX tagsPierre Bourdon
SPDX standardizes how source code conveys its copyright and licensing information. See https://spdx.github.io/spdx-spec/1-rationale/ . SPDX tags are adopted in many large projects, including things like the Linux kernel.
2020-11-21Fix -Wsign-compare warningsLéo Lam
2020-10-18DolphinQt: Reset TAS input slider to default on right-clickJosJuice
This is a feature which existed in DolphinWX. Seems like it got implemented in DolphinQt for IRWidget/StickWidget but not sliders.
2020-07-02DolphinQt: Allow customizing TAS input turbo intervalJosJuice
As a side effect of 9c5c3c0, Dolphin's frame counter was changed to run at 60/50 Hz even if the game is running at a lower framerate such as 30 fps. Since the TAS input turbo button functionality toggled the state of a button every other frame as reported by the frame counter, this change made the turbo button functionality not work with 30/25 fps games. I believe it would be hard to change the frame counter back to how it used to work without undermining the point of 9c5c3c0, and I'm not sure if doing so would be desireable or not anyway, so what I'm doing instead is letting the user determine how long turbo button presses should last. This lets users avoid the 30/25 fps game problem while also granting additional flexibility. Perhaps there is some game where it is useful to mash at a speed which is slower than frame perfect.
2020-04-28DolphinQt: Use qOverload where applicableLioncash
Provides the same behvaior, but in a much more concise manner.
2020-02-24Merge pull request #8633 from spycrab/tas_window_fixesspycrab
Qt/TAS: Improve TAS windows
2020-02-18Qt/TAS: Improve TAS windowsspycrab
- Use the Dolphin Icon in TAS Windows - Prevent deformation of the stick widget (#11988) - Improve visual appearance - Set a reasonable minimum size
2020-02-17Core/WiimoteEmu: Add functions to Nunchuk, Classic Controller, and ↵Jordan Woyak
MotionPlus extensions to get/set data without duplicate bithacks everywhere.
2020-01-26DolphinQt/TASCheckBox: Mark GetValue() as constLioncash
This doesn't actually modify the checkbox's state, so this can be marked as a const-qualified member function.
2019-03-31Qt/TAS: Implement turbo modespycrab
2019-03-26Qt/TAS: Improve layoutspycrab
2019-03-26Qt/TAS: Fix issue #11620spycrab
2019-02-02WiimoteEmu: Major renaming and cleanup.Jordan Woyak
2019-02-02Implement the rest of the wiimote input reports.Jordan Woyak