Commit Graph

51 Commits (8870fae674b891b4cfeef71386ba17dd7c6ebad5)

Author SHA1 Message Date
german77 96b8a3ecac input_common: sdl: Only send last vibration command 2 years ago
Liam 600f325d87 general: fix spelling mistakes 2 years ago
arades79 683019878f remove static from pointer sized or smaller types for aesthetics, change constexpr static to static constexpr for consistency
Signed-off-by: arades79 <scravers@protonmail.com>
2 years ago
arades79 45e13b03f3 add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
2 years ago
Narr the Reg acba9a6b76 input_common: Reintroduce custom pro controller support 2 years ago
liamwhite a68af583ea
Merge pull request #9492 from german77/joycon_release
Input_common: Implement custom joycon driver v2
2 years ago
german77 340f15d1fa input_common: Address byte review 2 years ago
german77 b40aefb39e input_common: Drop Pro controller support from custom driver 2 years ago
german77 527dad7097 input_common: Use DriverResult on all engines 2 years ago
Narr the Reg 2d802893e7 input_common: Disable SDL driver with switch controllers 2 years ago
german77 db6cb9cc0a input_common: reset sdl motion if data is invalid 2 years ago
Narr the Reg 3e1e6c66c0 input_common: Filter SDL GUID 2 years ago
german77 7d8095d944 input_common: Pump sdl events from main thread 2 years ago
liamwhite 77803d96be
Merge pull request #9107 from german77/gidoly_rules
input_common: cache vibration tests
2 years ago
Morph e6ab1f673b general: Enforce C4800 everywhere except in video_core 2 years ago
german77 7f66050f0c input_common: cache vibration tests 2 years ago
Liam 35d3e7db2a common: remove "yuzu:" prefix from thread names 2 years ago
Narr the Reg c3b16cf8d3 input_common: sdl: Always check for motion on reconnect 3 years ago
Andrea Pappacoda cdb240f3d4
chore: make yuzu REUSE compliant
[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 01cf05bc75
3 years ago
german77 5e7e55b98a input_common: sdl: lower vibration frequency and use it's own unique thread 3 years ago
Narr the Reg 28877cea31 input_common: Replace usage of string guid to common uuid 3 years ago
Narr the Reg bf948b5790 input_common: Make vibration request async 3 years ago
bunnei 764e5c7fe5
Merge pull request #7978 from german77/sideway
input_common: Map sticks correctly when mapped sideways
3 years ago
Merry 159ae5e47c input_common: Replace lock_guard with scoped_lock 3 years ago
Narr the Reg ee532e5c01 input_common: Map sticks correctly when mapped sideways 3 years ago
bunnei 1079215871
Merge pull request #7859 from german77/battery_again
input_common: Remove battery duplicated struct and update every button press
3 years ago
bunnei ca9da569ce
Merge pull request #7852 from Morph1984/new-uuid
common: Revise and fix the UUID implementation
3 years ago
german77 6a4ab3e0d2 yuzu: Add auto center on right click 3 years ago
german77 21742f0096 input_common: Remove battery duplicated struct and update every button press 3 years ago
Morph 25db62ce15 general: Rename NewUUID to UUID, and remove the previous UUID impl
This completes the removal of the old UUID implementation.
3 years ago
Morph cb30fe50cd input/hid: Migrate to the new UUID implementation 3 years ago
Narr the Reg 064aa3de11 yuzu: ui: Improve battery symbols 3 years ago
Narr the Reg fd1cef5616 input_common: Add DS5 to HD rumble list 3 years ago
gidoly 92d676d788
Xbox controller default name nit pick
Discord User moon lacer pointed us that official name is 'Xbox' not 'XBox'
3 years ago
gidoly 7978ea4e8c
Change default name for ps controllers
Minor nitpick
Code is from narr
3 years ago
german77 72c8a94a6c yuzu: Add controller hotkeys 3 years ago
Narr the Reg ac0c5be7c0
Merge pull request #7577 from v1993/patch-2
input/SDL: Update SDL hints
3 years ago
Valeri 7f965172c5
input/SDL: Update SDL hints
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.
3 years ago
Lioncash 755822ceec input_engine: Take BasicMotion by const reference with SetMotion() and TriggerOnMotionChange()
Copies the BasicMotion instance once instead of twice.
3 years ago
Lioncash 38f3442ea5 input_engine: Pass VibrationStatus by const reference in SetRumble()
Avoids creating copies of the struct where not necessary.
3 years ago
Lioncash 2b92d22bda input_engine: std::move engine name where applicable
We can allow the name to be moved into, allowing allocations to be
avoided.
3 years ago
Narr the Reg e4492a9a82
input_common: Fix error with thread name 3 years ago
german77 746c85b560 input_common: Move button names to the frontend 3 years ago
german77 c4760489a0 input_common: Fix SDL controller with inverted axis 3 years ago
german77 42949738f2 kraken: Address comments from review
Fix compiler bug
3 years ago
german77 2b1b0c2a30 kraken: Address comments from review
start lion review
3 years ago
german77 7348e205d9 input_common: Add multiple vibration curves 3 years ago
german77 c3ff0a8ac0 core/hid: Fix rumble too strong at 1% 3 years ago
german77 601ac43495 core/hid: Only signal when needed 3 years ago
german77 06a5ef5874 core/hid: Add output devices 3 years ago