summaryrefslogtreecommitdiffstats
path: root/src/input_common/CMakeLists.txt (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-01-18input_common: Add android input engineNarr the Reg1-0/+2
2024-01-05hid_core: Move hid to it's own subprojectNarr the Reg1-1/+1
2023-09-03msvc: set warning level to /W4 globallyDanila Malyutin1-2/+0
And fix a bunch of warnings
2023-02-28cmake: use correct boost imported targetsAlexandre Bouvier1-1/+1
2023-01-20input_common: Implement joycon ir cameraNarr the Reg1-0/+2
2023-01-20input_common: Implement joycon nfcgerman771-0/+2
2023-01-20input_common: Add support for joycon ring controllerNarr the Reg1-0/+2
2023-01-20input_common: Add support for joycon input reportsNarr the Reg1-0/+4
2023-01-20input_common: Use calibration from joyconNarr the Reg1-0/+2
2023-01-20input_common: Add support for joycon generic functionsNarr the Reg1-0/+2
2023-01-20input_common: Add joycon low level functionsNarr the Reg1-0/+2
2023-01-20input_common: Initial skeleton for custom joycon driverNarr the Reg1-0/+5
2022-12-28cmake: make libusb optionalLiam1-5/+10
2022-12-17input_common: Add virtual gamepadgerman771-0/+2
2022-12-06cmake: prefer system libusbAlexandre Bouvier1-3/+1
2022-12-06cmake: use sdl2 imported targetAlexandre Bouvier1-5/+1
2022-11-30CMake: Use precompiled headersameerj1-0/+5
2022-11-29CMake: Directly link to SDL2-static when appropriatelat9nq1-1/+5
Trying to be lazy and alias SDL2 to SDL2-static causes issues in later versions of CMake. Just use the same condition to tell which one to use.
2022-10-22CMakeLists: Remove redundant warningsMorph1-2/+0
These warnings are already included in /W3.
2022-10-22CMakeLists: Treat MSVC warnings as errorsMorph1-1/+0
2022-10-22general: Enforce C4800 everywhere except in video_coreMorph1-0/+1
2022-10-22CMakeLists: Remove all redundant warningsMorph1-5/+0
These are already explicitly or implicitly set in src/CMakeLists.txt
2022-10-02input_common: Create virtual amiibo drivergerman771-0/+2
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda1-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
2022-07-24input_common: Add camera drivergerman771-0/+2
2022-06-14CMakeLists: Make variable shadowing a compile-time errorMorph1-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.
2021-11-25input_common: Remove obsolete filesgerman771-4/+0
2021-11-25input_common: Rewrite SDLgerman771-4/+4
2021-11-25input_common: Rewrite udp clientgerman771-4/+2
2021-11-25input_common: Rewrite tas inputgerman771-4/+2
2021-11-25input_common: Rewrite gc_adaptergerman771-4/+2
2021-11-25input_common: Rewrite touchgerman771-0/+2
2021-11-25input_common: Rewrite mousegerman771-4/+2
2021-11-25input_common: Rewrite keyboardgerman771-2/+2
2021-11-25input_common: Move touch and analog from button. Move udp protocolgerman771-6/+6
2021-11-25input_common: Create input poller and mappinggerman771-0/+6
2021-09-18input_common/tas: Base playback & recording systemMonsterDruide11-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>
2021-07-06CMakeLists: Treat -Wsign-compare as an error on GCC/ClangMorph1-3/+0
Treats (un)signed comparison mismatches as errors to be consistent with MSVC
2021-06-28input_common: Enforce C4242Morph1-12/+4
2021-06-03cmake: General improvements to libusb linkinglat9nq1-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
2021-04-18cmake: Use SDL 2.0.14 and fix CMake scope issuelat9nq1-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.
2021-04-15common: Move settings to common from core.bunnei1-2/+0
- Removes a dependency on core and input_common from common.
2020-11-26Implement full mouse supportgerman1-2/+4
2020-11-26input_common: ignore some Clang warnings after 5c4774e8ce1dJan Beich1-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]
2020-11-22input_common: Treat warnings as errorsLioncash1-0/+4
Migrates over warnings as errors for input common to match how the common library treats warnings as errors.
2020-10-16input_common/CMakeLists: Make some warnings errorsLioncash1-0/+29
Makes the input_common code warnings consistent with the rest of the codebase.
2020-09-26Add random motion input to keyboardgerman1-0/+2
2020-08-29yuzu: Add motion and touch configurationFearlessTobi1-0/+2
2020-08-28Implement a basic class for motion devicesgerman1-0/+2
2020-08-26Project Mjölnir: Part 1Morph1-0/+2
Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-07-13input_common: make libusb private to gc_adapterJan Beich1-2/+2
2020-07-09cmake: pass libusb include directory as wellJan Beich1-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> ^~~~~~~~~~
2020-06-21GC Adapter ImplementationAmeer1-0/+6
2020-04-16input_common: Use the CMake target instead of the variable.Markus Wick1-1/+1
2020-01-23Input: UDP Client to provide motion and touch controlsfearlessTobi1-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>
2019-03-02Input: Remove global variables from SDL InputJames Rowe1-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
2018-01-18CMakeLists: Derive the source directory grouping from targets themselvesLioncash1-19/+12
Removes the need to store to separate SRC and HEADER variables, and then construct the target in most cases.
2017-08-11move MotionEmu from core/frontend to input_common as a InputDevicewwylele1-0/+2
2017-05-28CMake: Define an interface target for SDL2 definitionsYuri Kunde Schlesner1-2/+1
2017-05-28CMake: Correct inter-module dependencies and library visibilityYuri Kunde Schlesner1-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.
2017-03-01InputCommon: add SDL joystick supportwwylele1-0/+10
2017-03-01InputCommon: add AnalogFromButtonwwylele1-0/+2
2017-03-01InputCommon: add Keyboardwwylele1-0/+15