summaryrefslogtreecommitdiff
path: root/src/input_common/main.cpp
AgeCommit message (Collapse)Author
2025-01-14Revert incorrect copyright attribution for non-contributed filesZephyron
- In commit b3facaa6bb30cdc39f2b7d632fef1e3bfeee7785, the copyright header was updated to include "Citron Homebrew Project" across multiple files, regardless of whether any contributions were made. - This commit removes the incorrect attribution and reverts the copyright header to its previous state. - Copyright attribution should only be added when meaningful contributions have been made to the file. - This commit ensures proper compliance with copyright standards and maintains correct attribution to the respective contributors. - Special thanks to Tachi for pointing out the need for these corrections and ensuring that proper attribution practices are followed.
2024-12-31core: Update copyright headersZephyron
- Update copyright headers to include Citron Homebrew Project - Add 2025 to copyright years
2024-02-17android: Input mappingt895
2024-01-17input_common: Add android input engineNarr the Reg
2023-01-19input_common: Initial skeleton for custom joycon driverNarr the Reg
2023-01-05input_common: Create an update engineNarr the Reg
2022-12-28cmake: make libusb optionalLiam
2022-12-18input_common: Cleanup projectgerman77
2022-12-16input_common: Add virtual gamepadgerman77
2022-11-29Merge pull request #9322 from german77/pump_eventsliamwhite
input_common: Pump SDL events from main thread
2022-11-28common/input: Add helpers functions for creating input and output devicesLioncash
Avoids the redundancy of needing to explictly specify the common namespace and the type.
2022-11-27input_common: Pump sdl events from main threadgerman77
2022-11-27yuzu-cmd: Fix input callback crash on closegerman77
2022-10-02input_common: Enable virtual amiibo drivergerman77
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda
[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 drivergerman77
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