summaryrefslogtreecommitdiffstats
path: root/src/input_common/drivers (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-10-02service: nfp: address commentsgerman772-3/+3
2022-10-02input_common: Create virtual amiibo drivergerman772-0/+162
2022-09-04input_common: sdl: Always check for motion on reconnectNarr the Reg1-4/+7
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda5-13/+9
[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-24input_common: Add camera drivergerman772-0/+111
2022-06-29input_common: sdl: lower vibration frequency and use it's own unique threadgerman772-1/+10
2022-06-07input_common: Replace usage of string guid to common uuidNarr the Reg2-33/+38
2022-05-23input_common: Make vibration request asyncNarr the Reg2-2/+33
2022-05-23input_common: touch: Rewrite touch driver to support multiple touch pointsgerman772-31/+110
2022-05-02Revert "gc_adapter: fix libusb import on GCC11.2"Morph1-4/+0
This reverts commit f72f4377f4cbbe45e5a43bb67c7245737ffa135f.
2022-05-02gc_adapter: fix libusb import on GCC11.2Levi Behunin1-0/+4
Just to silence an intermittent error. GCC11.2 complains cannot find 'libusb.h' during a fresh build.
2022-04-28chore: add missing SPDX tagsAndrea Pappacoda2-6/+4
Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
2022-04-23general: Convert source file copyright comments over to SPDXMorph8-24/+16
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-07input_common: Replace lock_guard with scoped_lockMerry1-6/+6
2022-03-22input_common: Map sticks correctly when mapped sidewaysNarr the Reg6-0/+71
2022-03-20input_common: Reduce unused includesameerj1-1/+0
2022-02-07yuzu: Add auto center on right clickgerman771-3/+3
2022-02-07input_common: Remove battery duplicated struct and update every button pressgerman773-15/+18
2022-02-05general: Rename NewUUID to UUID, and remove the previous UUID implMorph8-13/+13
This completes the removal of the old UUID implementation.
2022-02-05input/hid: Migrate to the new UUID implementationMorph8-17/+17
2022-02-02yuzu: ui: Improve battery symbolsNarr the Reg1-3/+2
2022-01-30input_common: Add home and hard touch press buttons to UDP controllersgerman772-3/+16
2022-01-27input_common: Add DS5 to HD rumble listNarr the Reg1-2/+3
2022-01-24input_common/udp_client: Replace deprecated from_string()/to_ulong() functionsLioncash1-2/+2
These are deprecated and make_address variants and to_uint() should be used instead.
2022-01-24input_common/udp_client: Prevent unnecessary string copiesLioncash2-4/+4
We can also remove some redundant const on the return values, since these don't do anything
2022-01-17input_common: Report battery for UDP controllersNarr the Reg2-0/+25
2022-01-17input_common: fix copy-paste errorValeri1-1/+1
Found by static analysis with PVS-Studio.
2022-01-17input_common: Reintroduce motion from mouse and use button namesgerman772-1/+34
2022-01-15Xbox controller default name nit pickgidoly1-2/+2
Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
2022-01-15Change default name for ps controllersgidoly1-0/+6
Minor nitpick Code is from narr
2022-01-08input_common: Handle errors on TAS scriptsgerman771-7/+24
2022-01-07input_common: Fix udp motion not automapping to both sidesgerman771-8/+16
2022-01-07yuzu: Add controller hotkeysgerman773-4/+7
2021-12-17[input_common] Move variable declaration closer to usagevperus1-2/+2
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-14input/SDL: Update SDL hintsValeri1-3/+4
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-13tas_input: Avoid minor copies in Read/WriteCommandButtons()Lioncash1-2/+2
We don't need to copy the whole pair
2021-12-13tas_input: Remove unnecessary semicolonLioncash1-1/+1
Resolves a -Wextra-semi warning
2021-12-13tas_input: Execute clear() even if emptyLioncash1-3/+2
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 includesLioncash1-2/+2
Gets rid of indirect includes and includes only what the interface needs.
2021-12-13tas_input: std::move strings into vectorLioncash1-21/+24
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.
2021-12-13tas_input: Use istringstream over stringstreamLioncash1-2/+2
This is only using the input facilities, so we don't need to use the fully-fleged stringstream.
2021-12-13tas_input: Use u8string_view instead of u8stringLioncash2-6/+7
Same behavior, but without the potential for extra allocations.
2021-12-13tas_input: Remove unused std::smatch variableLioncash1-2/+0
This also means we can get rid of the dependency on <regex>
2021-12-13tas_input: Amend -Wdocumentation warningsLioncash2-28/+30
Parameters shouldn't have the colon by their name.
2021-12-13tas_input: Make TasAxes enum an enum classLioncash2-5/+14
Prevents these values from potentially clashing with anything in other headers.
2021-12-13input_engine: Take BasicMotion by const reference with SetMotion() and TriggerOnMotionChange()Lioncash1-2/+2
Copies the BasicMotion instance once instead of twice.
2021-12-13input_engine: Pass VibrationStatus by const reference in SetRumble()Lioncash4-6/+8
Avoids creating copies of the struct where not necessary.
2021-12-13input_engine: std::move engine name where applicableLioncash14-28/+28
We can allow the name to be moved into, allowing allocations to be avoided.
2021-11-30input_common: Fix error with thread nameNarr the Reg1-2/+1
2021-11-29Revert of b01aa72vperus1-35/+39
Caused worker_thread to be stuck in Stage1Completed state until job's destruction.
2021-11-26input_common: Fully implement UDP controllersNarr the Reg2-8/+254
2021-11-25input_common: Move button names to the frontendgerman776-33/+35
2021-11-25input_common: Fix SDL controller with inverted axisgerman771-23/+0
2021-11-25kraken: Address comments from reviewgerman7710-23/+11
Fix compiler bug
2021-11-25core/hid: Improve accuary of mouse implementationgerman772-8/+14
2021-11-25core/hid: Fully implement native mousegerman772-6/+32
2021-11-25input_common: Allow keyboard to be backwards compatiblegerman772-14/+52
2021-11-25core/hid: Improve accuracy of the keyboard implementationgerman772-4/+56
2021-11-25core/hid: Prevent Emulated controller from flapping with multiple inputs devicesgerman772-23/+12
2021-11-25second commit lion reviewgerman776-19/+18
2021-11-25settings: Fix Debug controller type optionsgerman771-1/+0
2021-11-25kraken: Address comments from reviewgerman777-23/+23
start lion review
2021-11-25input_common: Revert deleted TAS functionsgerman772-18/+19
2021-11-25input_common: Fix GC adapter initializationgerman771-12/+12
Fix GC controller
2021-11-25input_common: Fix UDP uuidgerman772-1/+11
2021-11-25input_common: Add multiple vibration curvesgerman771-14/+19
2021-11-25settings: Fix mouse and keyboard mappingsgerman772-1/+17
2021-11-25kraken: Address comments from reviewgerman772-2/+4
review fixes
2021-11-25service/hid: Fix gesture inputgerman772-2/+29
2021-11-25core/hid: Fix rumble too strong at 1%german771-1/+19
2021-11-25core/hid: Only signal when neededgerman775-23/+84
2021-11-25kraken: Fix errors from rebase and format filesgerman773-3/+4
2021-11-25core/hid: Add output devicesgerman774-6/+14
2021-11-25input_common: Rewrite SDLgerman772-0/+1035
2021-11-25input_common: Rewrite udp clientgerman772-0/+491
2021-11-25input_common: Rewrite gc_adaptergerman774-0/+1131
2021-11-25input_common: Rewrite touchgerman772-0/+97
2021-11-25input_common: Rewrite mousegerman772-0/+215
2021-11-25input_common: Rewrite keyboardgerman772-0/+79