aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/configuration/configure_input_player.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core/hle/services/am] nuke ButtonPoller and Mouse thread (#4229)lizzie2026-07-261-0/+2
| | | | | | | | | | | | | | | | | Signed-off-by: lizzie <lizzie@eden-emu.dev> - [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md) - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- doesn't even do anything now, please check if controller i/o is affected by this change this should also fix latency issues with the mouse the ButtonPoller thread isn't longer required since we update the state immediately with the .on_change callback registered Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4229 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com>
* [meta] clang-format literally all of the Qt code (#3706)crueter2026-03-101-11/+9
| | | | | | | | I'm tired of dealing with this tbh Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3706 Reviewed-by: Lizzie <lizzie@eden-emu.dev>
* [qt_common] reorg + checkstate abstraction (#2735)crueter2025-10-151-1/+1
| | | | | | | | no diff. in functionality, just confirm builds on ubuntu 24.04/debian 12 Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2735
* [qt] refactor: qt_common lib (#94)crueter2025-09-151-1/+1
| | | | | | | | | | | | | | | | | This is part of a series of PRs made in preparation for the QML rewrite. this PR specifically moves a bunch of utility functions from main.cpp into qt_common, with the biggest benefit being that QML can reuse the exact same code through ctx passthrough. Also, QtCommon::Frontend is an abstraction layer over several previously Widgets-specific stuff like QMessageBox that gets used everywhere. The idea is that once QML is implemented, these functions can have a Quick version implemented for systems that don't work well with Widgets (sun) or for those on Plasma 6+ (reduces memory usage w/o Widgets linkage) although Quick from C++ is actually anal, but whatever. Other than that this should also just kinda reduce the size of main.cpp which is a 6000-line behemoth rn, and clangd straight up gives up with it for me (likely caused by the massive amount of headers, which this DOES reduce). In the future, I probably want to create a common strings lookup table that both Qt and QML can reference--though I'm not sure how much linguist likes that--which should give us a way to keep language consistent (use frozen-map). TODO: Docs for Qt stuff Co-authored-by: MaranBr <maranbr@outlook.com> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/94 Reviewed-by: MaranBr <maranbr@eden-emu.dev> Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
* [desktop] fix random qt annoyances (#226)crueter2025-08-081-2/+3
| | | | | | | | | | | | Removes that silly QLayout message and improves consistency thereof for other QLayouts Still work to be done but this is all that's needed rn Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/226 Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
* Fix controls config dialogcrueter2025-04-101-8/+29
| | | Signed-off-by: swurl <swurl@swurl.xyz>
* Merge pull request #12380 from flodavid/save-profileNarr the Reg2024-01-161-2/+14
|\ | | | | Save configuration profile name used by players
| * Save profile name usedflodavid2024-01-081-2/+14
| | | | | | | | | | - Save the profile name in global config - Read the profile name when reading the global config
* | service: hid: Create abstracted pad structuregerman772024-01-111-9/+9
|/
* hid_core: Move hid to it's own subprojectNarr the Reg2024-01-051-3/+3
|
* config: Unify config handling under frontend_commont8952023-11-211-5/+6
| | | | | | Replaces every way of handling config for each frontend with SimpleIni. frontend_common's Config class is at the center where it saves and loads all of the cross-platform settings and provides a set of pure virtual functions for platform specific settings. As a result of making config handling platform specific, several parts had to be moved to each platform's own config class or to other parts. Default keys were put in platform specific config classes and translatable strings for Qt were moved to shared_translation. Default hotkeys, default_theme, window geometry, and qt metatypes were moved to uisettings. Additionally, to reduce dependence on Qt, QStrings were converted to std::strings where applicable.
* core: hid: Split SL and SR buttonsgerman772023-11-111-14/+22
|
* input_common: Redesign mouse panningBaptiste Marie2023-06-121-0/+16
|
* core: hid: Allow to calibrate gyro sensorNarr the Reg2023-05-081-0/+3
|
* Merge pull request #10125 from lat9nq/vsync-selectbunnei2023-05-061-0/+1
|\ | | | | configuration: Expose separate swap present modes
| * configure_input_player: Add missing includelat9nq2023-05-021-0/+1
| | | | | | | | | | Cleaning up includes in bootmanager and configure_graphics has exposed a missing include here.
* | input_common: Add property to invert an axis buttonNarr the Reg2023-05-051-2/+8
|/
* Revert "yuzu: config: Remove player 8 and 9 from config file"Narr the Reg2023-02-261-1/+7
|
* yuzu: config: Remove player 8 and 9 from config fileNarr the Reg2023-02-251-7/+1
|
* input_common: Split mouse input into individual devicesNarr the Reg2023-02-161-1/+1
|
* input_common: Implement turbo buttonsgerman772023-02-011-5/+12
|
* yuzu: Update controller colors and button namesNarr the Reg2023-01-191-0/+20
|
* yuzu: Read mouse wheel inputNarr the Reg2023-01-101-0/+6
|
* yuzu: Automatically refresh device listgerman772022-12-231-4/+8
|
* emulated_controller: Remove unused parameter in GetMappedDevices()Lioncash2022-12-051-2/+1
| | | | | This isn't used, so it can be removed to make the function a little nicer.
* configure_input_player: Fix profile saving when using handheld controller typeameerj2022-11-281-1/+7
|
* Merge pull request #8880 from german77/slow-movingMai2022-09-121-1/+1
|\ | | | | input_common: Increase mapping timer from 2.5 seconds to 4 seconds
| * input_common: Increase mapping timer from 2.5 seconds to 4 secondsgerman772022-09-111-1/+1
| |
* | yuzu: input: fix invert symbol on axis and order options alphabeticallyNarr the Reg2022-09-061-13/+14
| |
* | input_common: Add support for analog toggleNarr the Reg2022-09-061-0/+6
|/
* yuzu: Allow longer controller profile namesNarr the Reg2022-08-181-1/+1
|
* chore: make yuzu REUSE compliantAndrea Pappacoda2022-07-271-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to b2eb10382941bef0914f4a0a4685b9033440aa9f
* configure_input_player: Eliminate variable shadowingMorph2022-06-141-39/+39
|
* yuzu: Config allow to delete single axis directions when buttons are mapped ↵Narr the Reg2022-04-261-1/+22
| | | | to a stick
* yuzu: config: Set default range to 95%Narr the Reg2022-04-261-1/+1
|
* Merge pull request #7978 from german77/sidewaybunnei2022-04-211-0/+19
|\ | | | | input_common: Map sticks correctly when mapped sideways
| * input_common: Map sticks correctly when mapped sidewaysNarr the Reg2022-03-211-0/+19
| |
* | ui: translate hat directionsKyle K2022-04-191-1/+19
| | | | | | | | | | | | | | | | QObject ends up being its own translation context. But this works in our favor. GetButtonName and GetDirectionName will share one translation the directions such as "Left" "Right" and the ConfigureInputPlayer context will contain translations that show up in the form, in places that aren't those buttons.
* | yuzu: Call ignore event after ensuring it's initializedNarr the Reg2022-04-161-1/+1
|/
* yuzu: Reduce unused includesameerj2022-03-201-2/+0
|
* yuzu: config: Fix mapping issues with the enter keyNarr the Reg2022-02-151-0/+3
|
* yuzu: Add auto center on right clickgerman772022-02-061-0/+26
|
* Merge pull request #7807 from german77/moar-buttonsbunnei2022-02-011-0/+4
|\ | | | | input_common: Add home and hard touch press buttons to UDP controllers
| * input_common: Add home and hard touch press buttons to UDP controllersgerman772022-01-301-0/+4
| |
* | configure_input_player: Eliminate variable shadowingLioncash2022-02-011-4/+5
| |
* | configure_input_player: std::move input setters in HandleClickLioncash2022-02-011-1/+1
| |
* | configure_input_player: Avoid unnecessary ParamPackage copiesLioncash2022-02-011-6/+6
|/ | | | Avoids churning allocations.
* Merge pull request #7770 from german77/motion-thresholdbunnei2022-01-271-0/+12
|\ | | | | input_common: Add option to configure gyro threshold
| * input_common: Add option to configure gyro thresholdgerman772022-01-231-0/+12
| |
* | yuzu: Add modifiers for keyboardNarr the Reg2022-01-211-25/+34
|/