summaryrefslogtreecommitdiff
path: root/src/input_common/CMakeLists.txt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* CMakeLists: Make variable shadowing a compile-time errorGravatar Morph2022-06-131-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 filesGravatar german772021-11-241-4/+0
|
* input_common: Rewrite SDLGravatar german772021-11-241-4/+4
|
* input_common: Rewrite udp clientGravatar german772021-11-241-4/+2
|
* input_common: Rewrite tas inputGravatar german772021-11-241-4/+2
|
* input_common: Rewrite gc_adapterGravatar german772021-11-241-4/+2
|
* input_common: Rewrite touchGravatar german772021-11-241-0/+2
|
* input_common: Rewrite mouseGravatar german772021-11-241-4/+2
|
* input_common: Rewrite keyboardGravatar german772021-11-241-2/+2
|
* input_common: Move touch and analog from button. Move udp protocolGravatar german772021-11-241-6/+6
|
* input_common: Create input poller and mappingGravatar german772021-11-241-0/+6
|
* input_common/tas: Base playback & recording systemGravatar MonsterDruide12021-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/ClangGravatar Morph2021-07-061-3/+0
| | | | Treats (un)signed comparison mismatches as errors to be consistent with MSVC
* input_common: Enforce C4242Gravatar Morph2021-06-281-12/+4
|
* cmake: General improvements to libusb linkingGravatar lat9nq2021-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 issueGravatar lat9nq2021-04-171-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.Gravatar bunnei2021-04-141-2/+0
| | | | - Removes a dependency on core and input_common from common.
* Merge pull request #4939 from german77/MouseInputGravatar bunnei2020-11-291-2/+4
|\ | | | | InputCommon: Implement full mouse support
| * Implement full mouse supportGravatar german2020-11-251-2/+4
| |
* | input_common: ignore some Clang warnings after 5c4774e8ce1dGravatar Jan Beich2020-11-251-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 errorsGravatar Lioncash2020-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 errorsGravatar Lioncash2020-10-151-0/+29
| | | | | Makes the input_common code warnings consistent with the rest of the codebase.
* Add random motion input to keyboardGravatar german2020-09-251-0/+2
|
* Merge pull request #4570 from german77/motionInputGravatar bunnei2020-09-021-0/+2
|\ | | | | input_common: Add a basic class for motion devices
| * Implement a basic class for motion devicesGravatar german2020-08-271-0/+2
| |
* | yuzu: Add motion and touch configurationGravatar FearlessTobi2020-08-291-0/+2
|/
* Project Mjölnir: Part 1Gravatar Morph2020-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_adapterGravatar Jan Beich2020-07-131-2/+2
|
* cmake: pass libusb include directory as wellGravatar Jan 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 ImplementationGravatar Ameer2020-06-211-0/+6
|
* input_common: Use the CMake target instead of the variable.Gravatar Markus Wick2020-04-161-1/+1
|
* Input: UDP Client to provide motion and touch controlsGravatar fearlessTobi2020-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 InputGravatar James 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 themselvesGravatar Lioncash2018-01-171-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 InputDeviceGravatar wwylele2017-08-111-0/+2
|
* CMake: Define an interface target for SDL2 definitionsGravatar Yuri Kunde Schlesner2017-05-271-2/+1
|
* CMake: Correct inter-module dependencies and library visibilityGravatar Yuri Kunde Schlesner2017-05-271-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 supportGravatar wwylele2017-03-011-0/+10
|
* InputCommon: add AnalogFromButtonGravatar wwylele2017-03-011-0/+2
|
* InputCommon: add KeyboardGravatar wwylele2017-03-011-0/+15