summaryrefslogtreecommitdiffstats
path: root/src/input_common/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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