summaryrefslogtreecommitdiff
path: root/src/input_common/main.cpp
AgeCommit message (Collapse)Author
2022-03-21input_common: Map sticks correctly when mapped sidewaysNarr the Reg
2022-03-20input_common: Reduce unused includesameerj
2022-01-24input_common/input_mapping: Remove const from return valueLioncash
Top-level const on a return by value can inhibit move semantics, and is unnecessary.
2022-01-24input_common/main: Pass MappingData by const reference in callbacksLioncash
Avoids creating unnecessary 168 byte copies per callback invocation.
2021-11-26input_common: Fully implement UDP controllersNarr the Reg
2021-11-24input_common: Move button names to the frontendgerman77
2021-11-24input_common: Allow keyboard to be backwards compatiblegerman77
2021-11-24core/hid: Improve accuracy of the keyboard implementationgerman77
2021-11-24kraken: Address comments from reviewgerman77
start lion review
2021-11-24settings: Fix mouse and keyboard mappingsgerman77
2021-11-24kraken: Address comments from reviewgerman77
review fixes
2021-11-24configuration: Migrate controller settings to emulated controllergerman77
2021-11-24kraken: Fix errors from rebase and format filesgerman77
2021-11-24core/hid: Add output devicesgerman77
2021-11-24input_common: Rewrite main and add the new driversgerman77
2021-11-24input_common: Rewrite keyboardgerman77
2021-11-24input_common: Move touch and analog from button. Move udp protocolgerman77
2021-09-24general: Update style to clang-format-12ameerj
2021-09-18UI: Relocate tas menu and add brief descriptiongerman77
2021-09-18config: Move TAS options to it's own menugerman77
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-08-07input_common: Improve SDL joystick and hide toggle optiongerman77
2021-07-10input_common: Fix build with sdl disabledgerman77
2021-05-15input_common: Implement SDL motiongerman77
2020-12-01Merge pull request #4937 from german77/multiUDPbunnei
InputCommon: Add multiple udp server support
2020-11-25Implement full mouse supportgerman
2020-11-25Add multiple udp server supportgerman
2020-11-15input_common: Add VibrationDevice and VibrationDeviceFactoryMorph
A vibration device is an input device that returns an unsigned byte as status. It represents whether the vibration device supports vibration or not. If the status returns 1, it supports vibration. Otherwise, it does not support vibration.
2020-11-15configure_input_player: Change "Defaults" button behaviorMorph
RestoreDefaults() now restores the selected devices' mappings using UpdateMappingWithDefaults(). This allows us to move the keyboard mapping from RestoreDefaults() to UpdateMappingWithDefaults().
2020-11-15configure_input_player: Implement input exclusivity and persistenceMorph
With this, the "Input Devices" combobox should accurately reflect the input device being used and disallows inputs from other input devices unless the input device is set to "Any".
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-18Add automap feature for GC adaptergerman
2020-09-04Add cemu hook changes related to PR #4609german
2020-08-29Address review comments and fix code compilationFearlessTobi
2020-08-29yuzu: Add motion and touch configurationFearlessTobi
2020-08-27input_common: Eliminate most global stateLioncash
Abstracts most of the input mechanisms under an InputSubsystem class that is managed by the frontends, eliminating any static constructors and destructors. This gets rid of global accessor functions and also allows the frontends to have a more fine-grained control over the lifecycle of the input subsystem. This also makes it explicit which interfaces rely on the input subsystem instead of making it opaque in the interface functions. All that remains to migrate over is the factories, which can be done in a separate change.
2020-08-26input_common/main: Add "/Mouse" to the display nameMorph
2020-08-26Address feedbackMorph
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-14input_common: drop unused libusb.h includeAmeer
Remnant of an early implementation.
2020-07-02Fix unnecessary diffsAmeer
2020-06-23Fix deallocation of GC AdapterAmeer
2020-06-22Update src/input_common/main.cppameerj
Co-authored-by: LC <mathew1800@gmail.com> update libusb submodule (hopefully windows build error fixed)
2020-06-21Tidy up the pointers, use pair over tuple where appropriateAmeer
2020-06-21shared_ptr for the GC adapter class, constexpr constantsAmeer
2020-06-21std::arrays where appropriate, clear q in adapter class, other touch upsAmeer
2020-06-21Singleton GC Adapter class, remove globals, fix naming conventionAmeer
Fix clang formatting Manual fix for configure_input_player formatting Add missing lib usb cmake command
2020-06-21Cleanup after linterAmeer
2020-06-21GC Adapter ImplementationAmeer