summaryrefslogtreecommitdiff
path: root/src/input_common/drivers
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-23input_common: Add camera drivergerman77
2022-06-28input_common: sdl: lower vibration frequency and use it's own unique threadgerman77
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-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-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-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-02yuzu: ui: Improve battery symbolsNarr the Reg
2022-01-30input_common: Add home and hard touch press buttons to UDP controllersgerman77
2022-01-26input_common: Add DS5 to HD rumble listNarr the Reg
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-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
2022-01-17input_common: fix copy-paste errorValeri
Found by static analysis with PVS-Studio.
2022-01-16input_common: Reintroduce motion from mouse and use button namesgerman77
2022-01-16Xbox controller default name nit pickgidoly
Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
2022-01-15Change default name for ps controllersgidoly
Minor nitpick Code is from narr
2022-01-11Merge pull request #7633 from german77/hotkeysbunnei
yuzu: Add controller hotkeys
2022-01-09Merge pull request #7687 from german77/tas_handleMorph
input_common: Handle errors on TAS scripts
2022-01-08input_common: Handle errors on TAS scriptsgerman77
2022-01-07input_common: Fix udp motion not automapping to both sidesgerman77
2022-01-06yuzu: Add controller hotkeysgerman77
2021-12-17Merge pull request #7302 from VPeruS/check-deadlockbunnei
[input_common] Fixed thread hang
2021-12-17[input_common] Move variable declaration closer to usagevperus
MSVC supplied with VS2022 generates "warning C4189: 'CALIBRATION_THRESHOLD': local variable is initialized but not referenced" which is treated as an error. Circumvent it by moving constexpr variable directly into body of lambda function.
2021-12-14Merge pull request #7577 from v1993/patch-2Narr the Reg
input/SDL: Update SDL hints
2021-12-14input/SDL: Update SDL hintsValeri
SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED is no longer needed thanks to new default in SDL 2.0.18. SDL_HINT_JOYSTICK_HIDAPI_XBOX is reported to cause conflicts with native driver Xbox driver on Linux, and Xbox controllers don't benefit from hidapi anyways.
2021-12-13Merge pull request #7575 from lioncash/inputbunnei
input_engine: Minor object churn cleanup
2021-12-13tas_input: Avoid minor copies in Read/WriteCommandButtons()Lioncash
We don't need to copy the whole pair
2021-12-13tas_input: Remove unnecessary semicolonLioncash
Resolves a -Wextra-semi warning
2021-12-13tas_input: Execute clear() even if emptyLioncash
clear() when empty is simply a no-op, so we can get rid of the check here and let the stdlib do it for us.
2021-12-13tas_input: Remove unnecessary includesLioncash
Gets rid of indirect includes and includes only what the interface needs.
2021-12-13tas_input: std::move strings into vectorLioncash
While we're in the same area, we can also avoid performing std::stoi in a loop when it only needs to be performed once.