aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/CMakeLists.txt
AgeCommit message (Collapse)Author
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]
2020-11-22input_common: Treat warnings as errorsLioncash
Migrates over warnings as errors for input common to match how the common library treats warnings as errors.
2020-10-15input_common/CMakeLists: Make some warnings errorsLioncash
Makes the input_common code warnings consistent with the rest of the codebase.
2020-09-25Add random motion input to keyboardgerman
2020-09-02Merge pull request #4570 from german77/motionInputbunnei
input_common: Add a basic class for motion devices
2020-08-29yuzu: Add motion and touch configurationFearlessTobi
2020-08-27Implement a basic class for motion devicesgerman
2020-08-26Project Mjölnir: Part 1Morph
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 Beich
2020-07-09cmake: pass libusb include directory as wellJan Beich
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 ImplementationAmeer
2020-04-16input_common: Use the CMake target instead of the variable.Markus Wick
2020-01-23Input: UDP Client to provide motion and touch controlsfearlessTobi
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 Rowe
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-17CMakeLists: Derive the source directory grouping from targets themselvesLioncash
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 InputDevicewwylele
2017-05-27CMake: Define an interface target for SDL2 definitionsYuri Kunde Schlesner
2017-05-27CMake: Correct inter-module dependencies and library visibilityYuri Kunde Schlesner
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 supportwwylele
2017-03-01InputCommon: add AnalogFromButtonwwylele
2017-03-01InputCommon: add Keyboardwwylele