summaryrefslogtreecommitdiffstats
path: root/src/input_common/helpers/stick_from_buttons.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-02-02input_common: Simplify stick from buttonNarr the Reg1-32/+13
2023-01-25Revert 9617 and fix it on input_commonNarr the Reg1-2/+7
2023-01-06input_common: Create an update engineNarr the Reg1-6/+11
2022-11-28input_common/helpers: Mark analog property structs members as static constexprLioncash1-1/+9
These are const with no dependency on any other data members, so we can make these static constexpr to reduce the overall object size.
2022-11-28common/input: Add helpers functions for creating input and output devicesLioncash1-10/+5
Avoids the redundancy of needing to explictly specify the common namespace and the type.
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda1-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 01cf05bc75b1e47beb08937439f3ed9339e7b254
2022-01-31input_common: Use attributes for analog range modifiersgerman771-4/+26
2021-12-14common/input: Avoid numerous large copies of CallbackStatusLioncash1-31/+44
CallbackStatus instances aren't the cheapest things to copy around (relative to everything else), given that they're currently 520 bytes in size and are currently copied numerous times when callbacks are invoked. Instead, we can pass the status by const reference to avoid all the copying.
2021-11-25core/hid: Fully emulate motion from buttongerman771-0/+12
2021-11-25kraken: Address comments from reviewgerman771-32/+38
start lion review
2021-11-25core/hid: Rework battery mappingsgerman771-1/+1
2021-11-25input_common: Add manual update options to input devicesgerman771-0/+16
2021-11-25kraken: Fix errors from rebase and format filesgerman771-2/+1
2021-11-25core/hid: Add output devicesgerman771-1/+2
2021-11-25input_common: Move touch and analog from button. Move udp protocolgerman771-55/+87
2021-07-05input_common: Add missing modifier callback to analog from buttongerman771-0/+1
2021-05-30input_common: Analog button, use time based position instead of frequent updatesgerman771-73/+122
2021-04-15common: Move settings to common from core.bunnei1-1/+1
- Removes a dependency on core and input_common from common.
2021-02-06Add SL SR vectors, change dual joycon view, add missing raw data from keyboard/mousegerman1-0/+4
2021-01-30analog_from_button: Fix update_thread.join exceptionameerj1-5/+9
This commit aims to address an exception that occurs when trying to join the Analog object's update_thread. By using an atomic bool for the status of the update thread, we ensure its value is consistent across the threads accessing it.
2020-12-08Disable analog joystick from buttons by defaultgerman1-1/+21
2020-11-10fix minor clang errorgerman1-1/+1
2020-11-08Allow to dial any angle with digital joystickgerman1-19/+103
2020-10-16input_common/CMakeLists: Make some warnings errorsLioncash1-7/+11
Makes the input_common code warnings consistent with the rest of the codebase.
2020-06-21Cleanup after linterAmeer1-2/+1
2020-06-21GC Adapter ImplementationAmeer1-1/+2
2020-02-18analog_from_button get direction implementationCJBok1-0/+14
2017-03-01InputCommon: add AnalogFromButtonwwylele1-0/+58