summaryrefslogtreecommitdiffstats
path: root/src/input_common/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input_common: Create virtual amiibo drivergerman772022-10-021-0/+2
|
* chore: make yuzu REUSE compliantAndrea Pappacoda2022-07-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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-241-0/+2
|
* CMakeLists: Make variable shadowing a compile-time errorMorph2022-06-141-1/+0
| | | | 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.
* input_common: Remove obsolete filesgerman772021-11-251-4/+0
|
* input_common: Rewrite SDLgerman772021-11-251-4/+4
|
* input_common: Rewrite udp clientgerman772021-11-251-4/+2
|
* input_common: Rewrite tas inputgerman772021-11-251-4/+2
|
* input_common: Rewrite gc_adaptergerman772021-11-251-4/+2
|
* input_common: Rewrite touchgerman772021-11-251-0/+2
|
* input_common: Rewrite mousegerman772021-11-251-4/+2
|
* input_common: Rewrite keyboardgerman772021-11-251-2/+2
|
* input_common: Move touch and analog from button. Move udp protocolgerman772021-11-251-6/+6
|
* input_common: Create input poller and mappinggerman772021-11-251-0/+6
|
* input_common/tas: Base playback & recording systemMonsterDruide12021-09-181-0/+4
| | | | | | | | | The base playback system supports up to 8 controllers (specified by `PLAYER_NUMBER` in `tas_input.h`), which all change their inputs simulataneously when `TAS::UpdateThread` is called. The recording system uses the controller debugger to read the state of the first controller and forwards that data to the TASing system for recording. Currently, this process sadly is not frame-perfect and pixel-accurate. Co-authored-by: Naii-the-Baf <sfabian200@gmail.com> Co-authored-by: Narr-the-Reg <juangerman-13@hotmail.com>
* CMakeLists: Treat -Wsign-compare as an error on GCC/ClangMorph2021-07-061-3/+0
| | | | Treats (un)signed comparison mismatches as errors to be consistent with MSVC
* input_common: Enforce C4242Morph2021-06-281-12/+4
|
* cmake: General improvements to libusb linkinglat9nq2021-06-031-2/+1
| | | | | | | | | Delegates libusb external communication to externals/CMakeLists.txt Ensures an interface library `usb` for every pathway input_common just links to the `usb` library now externals/libusb/CMakeLists.txt sets variables to override SDL2's libusb finding Other minor cleanup
* cmake: Use SDL 2.0.14 and fix CMake scope issuelat9nq2021-04-181-1/+1
| | | | | | | | | | Forces using SDL 2.0.14. Upgrades the SDL external to that version. Adds a message when switching to the external. Fixes an error where input_common only links to SDL when SDL2_FOUND is set, but externals/CMakeLists cannot set that variable to the required scope. Switch to using ENABLE_SDL2, which we can use since we now include the SDL source.
* common: Move settings to common from core.bunnei2021-04-151-2/+0
| | | | - Removes a dependency on core and input_common from common.
* Merge pull request #4939 from german77/MouseInputbunnei2020-11-301-2/+4
|\ | | | | InputCommon: Implement full mouse support
| * Implement full mouse supportgerman2020-11-261-2/+4
| |
* | input_common: ignore some Clang warnings after 5c4774e8ce1dJan Beich2020-11-261-2/+2
| | | | | | | | | | error: unknown warning option '-Werror=unused-but-set-parameter'; did you mean '-Werror=unused-parameter'? [-Werror,-Wunknown-warning-option] error: unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Werror,-Wunknown-warning-option]
* | input_common: Treat warnings as errorsLioncash2020-11-221-0/+4
|/ | | | | Migrates over warnings as errors for input common to match how the common library treats warnings as errors.
* input_common/CMakeLists: Make some warnings errorsLioncash2020-10-161-0/+29
| | | | | Makes the input_common code warnings consistent with the rest of the codebase.
* Add random motion input to keyboardgerman2020-09-261-0/+2
|
* Merge pull request #4570 from german77/motionInputbunnei2020-09-021-0/+2
|\ | | | | input_common: Add a basic class for motion devices
| * Implement a basic class for motion devicesgerman2020-08-281-0/+2
| |
* | yuzu: Add motion and touch configurationFearlessTobi2020-08-291-0/+2
|/
* Project Mjölnir: Part 1Morph2020-08-261-0/+2
| | | | | Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
* input_common: make libusb private to gc_adapterJan Beich2020-07-131-2/+2
|
* cmake: pass libusb include directory as wellJan Beich2020-07-091-0/+1
| | | | | | | In file included from src/input_common/gcadapter/gc_adapter.cpp:8: src/./input_common/gcadapter/gc_adapter.h:11:10: fatal error: 'libusb.h' file not found #include <libusb.h> ^~~~~~~~~~
* GC Adapter ImplementationAmeer2020-06-211-0/+6
|
* input_common: Use the CMake target instead of the variable.Markus Wick2020-04-161-1/+1
|
* Input: UDP Client to provide motion and touch controlsfearlessTobi2020-01-231-1/+7
| | | | | | | | An implementation of the cemuhook motion/touch protocol, this adds the ability for users to connect several different devices to citra to send direct motion and touch data to citra. Co-Authored-By: jroweboy <jroweboy@gmail.com>
* Input: Remove global variables from SDL InputJames Rowe2019-03-021-6/+9
| | | | | | | | | Changes the interface as well to remove any unique methods that frontends needed to call such as StartJoystickEventHandler by conditionally starting the polling thread only if the frontend hasn't started it already. Additionally, moves all global state into a single SDLState class in order to guarantee that the destructors are called in the proper order
* CMakeLists: Derive the source directory grouping from targets themselvesLioncash2018-01-181-19/+12
| | | | | Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases.
* move MotionEmu from core/frontend to input_common as a InputDevicewwylele2017-08-111-0/+2
|
* CMake: Define an interface target for SDL2 definitionsYuri Kunde Schlesner2017-05-281-2/+1
|
* CMake: Correct inter-module dependencies and library visibilityYuri Kunde Schlesner2017-05-281-3/+3
| | | | | | | | | | Modules didn't correctly define their dependencies before, which relied on the frontends implicitly including every module for linking to succeed. Also changed every target_link_libraries call to specify visibility of dependencies to avoid leaking definitions to dependents when not necessary.
* InputCommon: add SDL joystick supportwwylele2017-03-011-0/+10
|
* InputCommon: add AnalogFromButtonwwylele2017-03-011-0/+2
|
* InputCommon: add Keyboardwwylele2017-03-011-0/+15