summaryrefslogtreecommitdiff
path: root/src/input_common
AgeCommit message (Collapse)Author
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda
[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-07-25Address first part of review commentsFearlessTobi
2022-07-23input_common: Add camera drivergerman77
2022-06-28input_common: sdl: lower vibration frequency and use it's own unique threadgerman77
2022-06-14Merge pull request #8383 from Morph1984/shadow-of-the-pastMai
yuzu: Make variable shadowing a compile-time error
2022-06-13CMakeLists: Make variable shadowing a compile-time errorMorph
Now that the entire project is free of variable shadowing, we can enforce this as a compile time error to prevent any further introduction of this logic bug.
2022-06-06input_common: Replace usage of string guid to common uuidNarr the Reg
2022-05-28Merge pull request #8374 from german77/asnycvibrationsbunnei
input_common: Make vibration request async
2022-05-23input_common: Make vibration request asyncNarr the Reg
2022-05-23input_common: touch: Rewrite touch driver to support multiple touch pointsgerman77
2022-05-03Merge pull request #8272 from german77/stick_rangebunnei
yuzu: config: Improve analog stick mapping
2022-05-02Revert "gc_adapter: fix libusb import on GCC11.2"Morph
This reverts commit f72f4377f4cbbe45e5a43bb67c7245737ffa135f.
2022-05-02gc_adapter: fix libusb import on GCC11.2Levi Behunin
Just to silence an intermittent error. GCC11.2 complains cannot find 'libusb.h' during a fresh build.
2022-04-28chore: add missing SPDX tagsAndrea Pappacoda
Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
2022-04-26yuzu: config: Set default range to 95%Narr the Reg
2022-04-23general: Convert source file copyright comments over to SPDXMorph
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2022-04-21Merge pull request #7978 from german77/sidewaybunnei
input_common: Map sticks correctly when mapped sideways
2022-04-20input_common: Ignore boost uninitialized local variableNarr the Reg
2022-04-07input_common: Replace lock_guard with scoped_lockMerry
2022-03-21input_common: Map sticks correctly when mapped sidewaysNarr the Reg
2022-03-20input_common: Reduce unused includesameerj
2022-02-24Merge pull request #7859 from german77/battery_againbunnei
input_common: Remove battery duplicated struct and update every button press
2022-02-10Merge pull request #7852 from Morph1984/new-uuidbunnei
common: Revise and fix the UUID implementation
2022-02-06yuzu: Add auto center on right clickgerman77
2022-02-06input_common: Remove battery duplicated struct and update every button pressgerman77
2022-02-05general: Rename NewUUID to UUID, and remove the previous UUID implMorph
This completes the removal of the old UUID implementation.
2022-02-05input/hid: Migrate to the new UUID implementationMorph
2022-02-04Merge pull request #7839 from german77/batterybunnei
yuzu: ui: Improve battery symbols
2022-02-03input_common: Remove unused core includeMorph
2022-02-03Merge pull request #7811 from german77/analog-modbunnei
input_common: Use attributes for analog range modifiers
2022-02-02yuzu: ui: Improve battery symbolsNarr the Reg
2022-01-30input_common: Use attributes for analog range modifiersgerman77
2022-01-30input_common: Add home and hard touch press buttons to UDP controllersgerman77
2022-01-28Merge pull request #7784 from german77/ds5Morph
input_common: Add DS5 to HD rumble list
2022-01-27Merge pull request #7770 from german77/motion-thresholdbunnei
input_common: Add option to configure gyro threshold
2022-01-26input_common: Add DS5 to HD rumble listNarr the Reg
2022-01-25Merge pull request #7774 from lioncash/mappingMorph
input_common/main: Pass MappingData by const reference in callbacks
2022-01-24input_common/input_engine: Ensure PadIdentifier UUIDs have a valid initial stateLioncash
The default constructor of a UUID instance doesn't initialize the underlying array.
2022-01-24input_common/input_mapping: Simplify UUID validity checksLioncash
Makes the checks a little more intuitive to read and doesn't construct an extra UUID instance
2022-01-24input_common/input_mapping: Add missing includesLioncash
Ensures that the class always sees the types it needs.
2022-01-24input_common/input_mapping: Remove const from return valueLioncash
Top-level const on a return by value can inhibit move semantics, and is unnecessary.
2022-01-24input_common/input_mapping: Default constructorLioncash
2022-01-24input_common/main: Pass MappingData by const reference in callbacksLioncash
Avoids creating unnecessary 168 byte copies per callback invocation.
2022-01-24input_common/udp_client: Replace deprecated from_string()/to_ulong() functionsLioncash
These are deprecated and make_address variants and to_uint() should be used instead.
2022-01-24input_common/udp_client: Prevent unnecessary string copiesLioncash
We can also remove some redundant const on the return values, since these don't do anything
2022-01-23input_common: Add option to configure gyro thresholdgerman77
2022-01-22Merge pull request #7735 from german77/udp_batterybunnei
input_common: Report battery for UDP controllers
2022-01-18Merge pull request #7715 from gidoly/patch-4bunnei
Xbox controller default name nit pick
2022-01-18Merge pull request #7725 from german77/mouse_in_motionbunnei
input_common: Reintroduce motion from mouse and use button names
2022-01-17input_common: Report battery for UDP controllersNarr the Reg