summaryrefslogtreecommitdiffstats
path: root/src/input_common/drivers/sdl_driver.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-12core: hid: Split SL and SR buttonsgerman771-8/+12
2023-07-07input_common: set `SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS` to 0Martino Fontana1-37/+9
This allows to share the mappings between Nintendo and non-Nintendo controllers. Breaks the controller configuration for existing users who are using a Nintendo controller. (Documentation of the hint https://github.com/libsdl-org/SDL/blob/92b3c53c92971e685254fd89f89ce6bde8cea60e/include/SDL_hints.h#L512-L532)
2023-06-25input_common: Make use of new SDL featuresgerman771-8/+20
2023-06-24Only use SDL wakelock on Linuxzeltermann1-0/+4
SDL has internally fixed shenanigans related to wakelocking through DBus from inside sandboxes from around August 2022, so we can now remove the workaround we used since 2021.
2023-05-05Improve emulation of HD Rumblemarius david1-6/+29
2023-03-13input_common: sdl: Only send last vibration commandgerman771-1/+16
2023-03-12general: fix spelling mistakesLiam1-2/+2
2023-02-14remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistencyarades791-4/+4
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14add static lifetime to constexpr values to force compile time evaluation where possiblearades791-4/+4
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-10input_common: Reintroduce custom pro controller supportNarr the Reg1-2/+16
2023-01-20input_common: Address byte reviewgerman771-1/+1
2023-01-20input_common: Drop Pro controller support from custom drivergerman771-3/+3
2023-01-20input_common: Use DriverResult on all enginesgerman771-2/+2
2023-01-20input_common: Disable SDL driver with switch controllersNarr the Reg1-3/+16
2023-01-18input_common: reset sdl motion if data is invalidgerman771-19/+35
2022-12-12input_common: Filter SDL GUIDNarr the Reg1-0/+2
2022-11-27input_common: Pump sdl events from main threadgerman771-9/+6
2022-10-22general: Enforce C4800 everywhere except in video_coreMorph1-2/+2
2022-10-21input_common: cache vibration testsgerman771-8/+56
2022-10-04common: remove "yuzu:" prefix from thread namesLiam1-2/+2
2022-09-04input_common: sdl: Always check for motion on reconnectNarr the Reg1-4/+7
2022-07-27chore: make yuzu REUSE compliantAndrea 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-06-29input_common: sdl: lower vibration frequency and use it's own unique threadgerman771-1/+9
2022-06-07input_common: Replace usage of string guid to common uuidNarr the Reg1-26/+30
2022-05-23input_common: Make vibration request asyncNarr the Reg1-2/+21
2022-04-07input_common: Replace lock_guard with scoped_lockMerry1-6/+6
2022-03-22input_common: Map sticks correctly when mapped sidewaysNarr the Reg1-0/+33
2022-02-07yuzu: Add auto center on right clickgerman771-3/+3
2022-02-07input_common: Remove battery duplicated struct and update every button pressgerman771-7/+10
2022-02-05general: Rename NewUUID to UUID, and remove the previous UUID implMorph1-1/+1
This completes the removal of the old UUID implementation.
2022-02-05input/hid: Migrate to the new UUID implementationMorph1-3/+3
2022-02-02yuzu: ui: Improve battery symbolsNarr the Reg1-3/+2
2022-01-27input_common: Add DS5 to HD rumble listNarr the Reg1-2/+3
2022-01-15Xbox controller default name nit pickgidoly1-2/+2
Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
2022-01-15Change default name for ps controllersgidoly1-0/+6
Minor nitpick Code is from narr
2022-01-07yuzu: Add controller hotkeysgerman771-0/+2
2021-12-14input/SDL: Update SDL hintsValeri1-3/+4
SDL_HINT_JOYSTICK_HIDAPI_SWITCH_HOME_LED is no longer needed thanks to new default in SDL 2.0.18. SDL_HINT_JOYSTICK_HIDAPI_XBOX is reported to cause conflicts with native driver Xbox driver on Linux, and Xbox controllers don't benefit from hidapi anyways.
2021-12-13input_engine: Take BasicMotion by const reference with SetMotion() and TriggerOnMotionChange()Lioncash1-2/+2
Copies the BasicMotion instance once instead of twice.
2021-12-13input_engine: Pass VibrationStatus by const reference in SetRumble()Lioncash1-2/+4
Avoids creating copies of the struct where not necessary.
2021-12-13input_engine: std::move engine name where applicableLioncash1-1/+1
We can allow the name to be moved into, allowing allocations to be avoided.
2021-11-30input_common: Fix error with thread nameNarr the Reg1-2/+1
2021-11-25input_common: Move button names to the frontendgerman771-8/+7
2021-11-25input_common: Fix SDL controller with inverted axisgerman771-23/+0
2021-11-25kraken: Address comments from reviewgerman771-1/+1
Fix compiler bug
2021-11-25kraken: Address comments from reviewgerman771-8/+8
start lion review
2021-11-25input_common: Add multiple vibration curvesgerman771-14/+19
2021-11-25core/hid: Fix rumble too strong at 1%german771-1/+19
2021-11-25core/hid: Only signal when neededgerman771-8/+14
2021-11-25core/hid: Add output devicesgerman771-2/+6
2021-11-25input_common: Rewrite SDLgerman771-0/+915