summaryrefslogtreecommitdiff
path: root/src/input_common/main.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-02-17android: Input mappingGravatar t8951-2/+26
2024-01-17input_common: Add android input engineGravatar Narr the Reg1-0/+22
2023-01-19input_common: Initial skeleton for custom joycon driverGravatar Narr the Reg1-0/+14
2023-01-05input_common: Create an update engineGravatar Narr the Reg1-0/+26
2022-12-28cmake: make libusb optionalGravatar Liam1-2/+22
2022-12-18input_common: Cleanup projectGravatar german771-200/+83
2022-12-16input_common: Add virtual gamepadGravatar german771-0/+23
2022-11-28common/input: Add helpers functions for creating input and output devicesGravatar Lioncash1-59/+43
Avoids the redundancy of needing to explictly specify the common namespace and the type.
2022-11-27input_common: Pump sdl events from main threadGravatar german771-0/+10
2022-11-27yuzu-cmd: Fix input callback crash on closeGravatar german771-0/+10
2022-10-02input_common: Enable virtual amiibo driverGravatar german771-0/+21
2022-07-27chore: make yuzu REUSE compliantGravatar Andrea Pappacoda1-3/+2
[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 driverGravatar german771-0/+21
2022-03-21input_common: Map sticks correctly when mapped sidewaysGravatar Narr the Reg1-0/+29
2022-03-20input_common: Reduce unused includesGravatar ameerj1-1/+0
2022-01-24input_common/input_mapping: Remove const from return valueGravatar Lioncash1-1/+1
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 callbacksGravatar Lioncash1-2/+2
Avoids creating unnecessary 168 byte copies per callback invocation.
2021-11-26input_common: Fully implement UDP controllersGravatar Narr the Reg1-5/+21
2021-11-24input_common: Move button names to the frontendGravatar german771-12/+5
2021-11-24input_common: Allow keyboard to be backwards compatibleGravatar german771-9/+0
2021-11-24core/hid: Improve accuracy of the keyboard implementationGravatar german771-0/+9
2021-11-24kraken: Address comments from reviewGravatar german771-34/+42
start lion review
2021-11-24settings: Fix mouse and keyboard mappingsGravatar german771-0/+3
2021-11-24kraken: Address comments from reviewGravatar german771-2/+5
review fixes
2021-11-24configuration: Migrate controller settings to emulated controllerGravatar german771-0/+10
2021-11-24kraken: Fix errors from rebase and format filesGravatar german771-2/+4
2021-11-24core/hid: Add output devicesGravatar german771-10/+20
2021-11-24input_common: Rewrite main and add the new driversGravatar german771-11/+279
2021-11-24input_common: Rewrite keyboardGravatar german771-260/+3
2021-11-24input_common: Move touch and analog from button. Move udp protocolGravatar german771-8/+0
2021-09-24general: Update style to clang-format-12Gravatar ameerj1-2/+2
2021-09-18UI: Relocate tas menu and add brief descriptionGravatar german771-1/+1
2021-09-18config: Move TAS options to it's own menuGravatar german771-1/+5
2021-09-18input_common/tas: Base playback & recording systemGravatar MonsterDruide11-0/+48
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 optionGravatar german771-4/+4
2021-07-10input_common: Fix build with sdl disabledGravatar german771-2/+2
2021-05-15input_common: Implement SDL motionGravatar german771-0/+5
2020-11-25Implement full mouse supportGravatar german1-10/+63
2020-11-25Add multiple udp server supportGravatar german1-1/+1
2020-11-15input_common: Add VibrationDevice and VibrationDeviceFactoryGravatar Morph1-0/+5
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 behaviorGravatar Morph1-8/+0
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 persistenceGravatar Morph1-3/+3
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 errorsGravatar Lioncash1-0/+4
Makes the input_common code warnings consistent with the rest of the codebase.
2020-09-25Add random motion input to keyboardGravatar german1-0/+4
2020-09-18Add automap feature for GC adapterGravatar german1-1/+10
2020-09-04Add cemu hook changes related to PR #4609Gravatar german1-3/+43
2020-08-29Address review comments and fix code compilationGravatar FearlessTobi1-3/+5
2020-08-29yuzu: Add motion and touch configurationGravatar FearlessTobi1-0/+9
2020-08-27input_common: Eliminate most global stateGravatar Lioncash1-107/+143
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 nameGravatar Morph1-1/+1