summaryrefslogtreecommitdiff
path: root/src/input_common/CMakeLists.txt
AgeCommit message (Collapse)Author
2025-01-14Revert incorrect copyright attribution for non-contributed filesZephyron
- In commit b3facaa6bb30cdc39f2b7d632fef1e3bfeee7785, the copyright header was updated to include "Citron Homebrew Project" across multiple files, regardless of whether any contributions were made. - This commit removes the incorrect attribution and reverts the copyright header to its previous state. - Copyright attribution should only be added when meaningful contributions have been made to the file. - This commit ensures proper compliance with copyright standards and maintains correct attribution to the respective contributors. - Special thanks to Tachi for pointing out the need for these corrections and ensuring that proper attribution practices are followed.
2024-12-31chore: update project references and add Citron copyrightZephyron
- Replaced all references to the old project name with Citron. - Added Citron copyright information alongside existing notices in all files.
2024-02-17android: Input mappingt895
2024-01-17input_common: Add android input engineNarr the Reg
2024-01-05hid_core: Move hid to it's own subprojectNarr the Reg
2023-09-03msvc: set warning level to /W4 globallyDanila Malyutin
And fix a bunch of warnings
2023-02-28cmake: use correct boost imported targetsAlexandre Bouvier
2023-01-19input_common: Implement joycon ir cameraNarr the Reg
2023-01-19input_common: Implement joycon nfcgerman77
2023-01-19input_common: Add support for joycon ring controllerNarr the Reg
2023-01-19input_common: Add support for joycon input reportsNarr the Reg
2023-01-19input_common: Use calibration from joyconNarr the Reg
2023-01-19input_common: Add support for joycon generic functionsNarr the Reg
2023-01-19input_common: Add joycon low level functionsNarr the Reg
2023-01-19input_common: Initial skeleton for custom joycon driverNarr the Reg
2022-12-28cmake: make libusb optionalLiam
2022-12-16input_common: Add virtual gamepadgerman77
2022-12-06Merge pull request #9391 from abouvier/cmake-sdlliamwhite
cmake: use sdl2 imported target
2022-12-06cmake: prefer system libusbAlexandre Bouvier
2022-12-06cmake: use sdl2 imported targetAlexandre Bouvier
2022-12-03Merge pull request #9300 from ameerj/pchliamwhite
CMake: Use precompiled headers to improve compile times
2022-11-29CMake: Use precompiled headersameerj
2022-11-28CMake: Directly link to SDL2-static when appropriatelat9nq
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 warningsMorph
These warnings are already included in /W3.
2022-10-22CMakeLists: Treat MSVC warnings as errorsMorph
2022-10-22general: Enforce C4800 everywhere except in video_coreMorph
2022-10-22CMakeLists: Remove all redundant warningsMorph
These are already explicitly or implicitly set in src/CMakeLists.txt
2022-10-02input_common: Create virtual amiibo drivergerman77
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-13CMakeLists: Make variable shadowing a compile-time errorMorph
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-24input_common: Remove obsolete filesgerman77
2021-11-24input_common: Rewrite SDLgerman77
2021-11-24input_common: Rewrite udp clientgerman77
2021-11-24input_common: Rewrite tas inputgerman77
2021-11-24input_common: Rewrite gc_adaptergerman77
2021-11-24input_common: Rewrite touchgerman77
2021-11-24input_common: Rewrite mousegerman77
2021-11-24input_common: Rewrite keyboardgerman77
2021-11-24input_common: Move touch and analog from button. Move udp protocolgerman77
2021-11-24input_common: Create input poller and mappinggerman77
2021-09-18input_common/tas: Base playback & recording systemMonsterDruide1
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/ClangMorph
Treats (un)signed comparison mismatches as errors to be consistent with MSVC
2021-06-28input_common: Enforce C4242Morph
2021-06-03cmake: General improvements to libusb linkinglat9nq
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-17cmake: Use SDL 2.0.14 and fix CMake scope issuelat9nq
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-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2020-11-29Merge pull request #4939 from german77/MouseInputbunnei
InputCommon: Implement full mouse support
2020-11-25Implement full mouse supportgerman
2020-11-25input_common: ignore some Clang warnings after 5c4774e8ce1dJan Beich
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]