summaryrefslogtreecommitdiffstats
path: root/src/input_common/drivers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* common: remove "yuzu:" prefix from thread namesLiam2022-10-043-5/+5
|
* service: nfp: address commentsgerman772022-10-022-3/+3
|
* input_common: Create virtual amiibo drivergerman772022-10-022-0/+162
|
* input_common: sdl: Always check for motion on reconnectNarr the Reg2022-09-041-4/+7
|
* chore: make yuzu REUSE compliantAndrea Pappacoda2022-07-275-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
* input_common: Add camera drivergerman772022-07-242-0/+111
|
* input_common: sdl: lower vibration frequency and use it's own unique threadgerman772022-06-292-1/+10
|
* input_common: Replace usage of string guid to common uuidNarr the Reg2022-06-072-33/+38
|
* Merge pull request #8374 from german77/asnycvibrationsbunnei2022-05-282-2/+33
|\ | | | | input_common: Make vibration request async
| * input_common: Make vibration request asyncNarr the Reg2022-05-232-2/+33
| |
* | input_common: touch: Rewrite touch driver to support multiple touch pointsgerman772022-05-232-31/+110
|/
* Revert "gc_adapter: fix libusb import on GCC11.2"Morph2022-05-021-4/+0
| | | | This reverts commit f72f4377f4cbbe45e5a43bb67c7245737ffa135f.
* gc_adapter: fix libusb import on GCC11.2Levi Behunin2022-05-021-0/+4
| | | | Just to silence an intermittent error. GCC11.2 complains cannot find 'libusb.h' during a fresh build.
* chore: add missing SPDX tagsAndrea Pappacoda2022-04-282-6/+4
| | | | Follow-up to 99ceb03a1cfcf35968cab589ea188a8c406cda52
* general: Convert source file copyright comments over to SPDXMorph2022-04-238-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.
* Merge pull request #7978 from german77/sidewaybunnei2022-04-226-0/+71
|\ | | | | input_common: Map sticks correctly when mapped sideways
| * input_common: Map sticks correctly when mapped sidewaysNarr the Reg2022-03-226-0/+71
| |
* | input_common: Replace lock_guard with scoped_lockMerry2022-04-071-6/+6
|/
* input_common: Reduce unused includesameerj2022-03-201-1/+0
|
* Merge pull request #7859 from german77/battery_againbunnei2022-02-243-15/+18
|\ | | | | input_common: Remove battery duplicated struct and update every button press
| * input_common: Remove battery duplicated struct and update every button pressgerman772022-02-073-15/+18
| |
* | Merge pull request #7852 from Morph1984/new-uuidbunnei2022-02-117-11/+11
|\ \ | | | | | | common: Revise and fix the UUID implementation
| * | general: Rename NewUUID to UUID, and remove the previous UUID implMorph2022-02-058-13/+13
| | | | | | | | | | | | This completes the removal of the old UUID implementation.
| * | input/hid: Migrate to the new UUID implementationMorph2022-02-058-17/+17
| |/
* / yuzu: Add auto center on right clickgerman772022-02-071-3/+3
|/
* Merge pull request #7839 from german77/batterybunnei2022-02-051-3/+2
|\ | | | | yuzu: ui: Improve battery symbols
| * yuzu: ui: Improve battery symbolsNarr the Reg2022-02-021-3/+2
| |
* | input_common: Add home and hard touch press buttons to UDP controllersgerman772022-01-302-3/+16
|/
* input_common: Add DS5 to HD rumble listNarr the Reg2022-01-271-2/+3
|
* input_common/udp_client: Replace deprecated from_string()/to_ulong() functionsLioncash2022-01-241-2/+2
| | | | These are deprecated and make_address variants and to_uint() should be used instead.
* input_common/udp_client: Prevent unnecessary string copiesLioncash2022-01-242-4/+4
| | | | | We can also remove some redundant const on the return values, since these don't do anything
* Merge pull request #7735 from german77/udp_batterybunnei2022-01-222-0/+25
|\ | | | | input_common: Report battery for UDP controllers
| * input_common: Report battery for UDP controllersNarr the Reg2022-01-172-0/+25
| |
* | Merge pull request #7715 from gidoly/patch-4bunnei2022-01-191-2/+2
|\ \ | | | | | | Xbox controller default name nit pick
| * | Xbox controller default name nit pickgidoly2022-01-151-2/+2
| |/ | | | | Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
* | Merge pull request #7725 from german77/mouse_in_motionbunnei2022-01-192-1/+34
|\ \ | | | | | | input_common: Reintroduce motion from mouse and use button names
| * | input_common: Reintroduce motion from mouse and use button namesgerman772022-01-172-1/+34
| |/
* / input_common: fix copy-paste errorValeri2022-01-171-1/+1
|/ | | Found by static analysis with PVS-Studio.
* Change default name for ps controllersgidoly2022-01-151-0/+6
| | | | Minor nitpick Code is from narr
* Merge pull request #7633 from german77/hotkeysbunnei2022-01-113-4/+7
|\ | | | | yuzu: Add controller hotkeys
| * yuzu: Add controller hotkeysgerman772022-01-073-4/+7
| |
* | Merge pull request #7687 from german77/tas_handleMorph2022-01-101-7/+24
|\ \ | | | | | | input_common: Handle errors on TAS scripts
| * | input_common: Handle errors on TAS scriptsgerman772022-01-081-7/+24
| |/
* / input_common: Fix udp motion not automapping to both sidesgerman772022-01-071-8/+16
|/
* Merge pull request #7302 from VPeruS/check-deadlockbunnei2021-12-181-35/+39
|\ | | | | [input_common] Fixed thread hang
| * [input_common] Move variable declaration closer to usagevperus2021-12-171-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.
| * Revert of b01aa72vperus2021-11-291-35/+39
| | | | | | | | Caused worker_thread to be stuck in Stage1Completed state until job's destruction.
* | Merge pull request #7577 from v1993/patch-2Narr the Reg2021-12-141-3/+4
|\ \ | | | | | | input/SDL: Update SDL hints
| * | input/SDL: Update SDL hintsValeri2021-12-141-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.
* | | Merge pull request #7575 from lioncash/inputbunnei2021-12-1414-36/+38
|\ \ \ | | | | | | | | input_engine: Minor object churn cleanup
| * | | input_engine: Take BasicMotion by const reference with SetMotion() and TriggerOnMotionChange()Lioncash2021-12-131-2/+2
| | | | | | | | | | | | | | | | Copies the BasicMotion instance once instead of twice.
| * | | input_engine: Pass VibrationStatus by const reference in SetRumble()Lioncash2021-12-134-6/+8
| | | | | | | | | | | | | | | | Avoids creating copies of the struct where not necessary.
| * | | input_engine: std::move engine name where applicableLioncash2021-12-1314-28/+28
| |/ / | | | | | | | | | | | | We can allow the name to be moved into, allowing allocations to be avoided.
* | | tas_input: Avoid minor copies in Read/WriteCommandButtons()Lioncash2021-12-131-2/+2
| | | | | | | | | | | | We don't need to copy the whole pair
* | | tas_input: Remove unnecessary semicolonLioncash2021-12-131-1/+1
| | | | | | | | | | | | Resolves a -Wextra-semi warning
* | | tas_input: Execute clear() even if emptyLioncash2021-12-131-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.
* | | tas_input: Remove unnecessary includesLioncash2021-12-131-2/+2
| | | | | | | | | | | | | | | Gets rid of indirect includes and includes only what the interface needs.
* | | tas_input: std::move strings into vectorLioncash2021-12-131-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.
* | | tas_input: Use istringstream over stringstreamLioncash2021-12-131-2/+2
| | | | | | | | | | | | | | | This is only using the input facilities, so we don't need to use the fully-fleged stringstream.
* | | tas_input: Use u8string_view instead of u8stringLioncash2021-12-132-6/+7
| | | | | | | | | | | | Same behavior, but without the potential for extra allocations.
* | | tas_input: Remove unused std::smatch variableLioncash2021-12-131-2/+0
| | | | | | | | | | | | This also means we can get rid of the dependency on <regex>
* | | tas_input: Amend -Wdocumentation warningsLioncash2021-12-132-28/+30
| | | | | | | | | | | | Parameters shouldn't have the colon by their name.
* | | tas_input: Make TasAxes enum an enum classLioncash2021-12-132-5/+14
|/ / | | | | | | | | Prevents these values from potentially clashing with anything in other headers.
* / input_common: Fix error with thread nameNarr the Reg2021-11-301-2/+1
|/
* input_common: Fully implement UDP controllersNarr the Reg2021-11-262-8/+254
|
* input_common: Move button names to the frontendgerman772021-11-256-33/+35
|
* input_common: Fix SDL controller with inverted axisgerman772021-11-251-23/+0
|
* kraken: Address comments from reviewgerman772021-11-2510-23/+11
| | | | Fix compiler bug
* core/hid: Improve accuary of mouse implementationgerman772021-11-252-8/+14
|
* core/hid: Fully implement native mousegerman772021-11-252-6/+32
|
* input_common: Allow keyboard to be backwards compatiblegerman772021-11-252-14/+52
|
* core/hid: Improve accuracy of the keyboard implementationgerman772021-11-252-4/+56
|
* core/hid: Prevent Emulated controller from flapping with multiple inputs devicesgerman772021-11-252-23/+12
|
* second commit lion reviewgerman772021-11-256-19/+18
|
* settings: Fix Debug controller type optionsgerman772021-11-251-1/+0
|
* kraken: Address comments from reviewgerman772021-11-257-23/+23
| | | | start lion review
* input_common: Revert deleted TAS functionsgerman772021-11-252-18/+19
|
* input_common: Fix GC adapter initializationgerman772021-11-251-12/+12
| | | | Fix GC controller
* input_common: Fix UDP uuidgerman772021-11-252-1/+11
|
* input_common: Add multiple vibration curvesgerman772021-11-251-14/+19
|
* settings: Fix mouse and keyboard mappingsgerman772021-11-252-1/+17
|
* kraken: Address comments from reviewgerman772021-11-252-2/+4
| | | | review fixes
* service/hid: Fix gesture inputgerman772021-11-252-2/+29
|
* core/hid: Fix rumble too strong at 1%german772021-11-251-1/+19
|
* core/hid: Only signal when neededgerman772021-11-255-23/+84
|
* kraken: Fix errors from rebase and format filesgerman772021-11-253-3/+4
|
* core/hid: Add output devicesgerman772021-11-254-6/+14
|
* input_common: Rewrite SDLgerman772021-11-252-0/+1035
|
* input_common: Rewrite udp clientgerman772021-11-252-0/+491
|
* input_common: Rewrite gc_adaptergerman772021-11-254-0/+1131
|
* input_common: Rewrite touchgerman772021-11-252-0/+97
|
* input_common: Rewrite mousegerman772021-11-252-0/+215
|
* input_common: Rewrite keyboardgerman772021-11-252-0/+79