Commit graph

64 commits

Author SHA1 Message Date
FearlessTobi
4d55e58ee4 scope_exit: Make constexpr
Allows the use of the macro in constexpr-contexts.
Also avoids some potential problems when nesting braces inside it.
2024-02-19 16:00:46 +01:00
Viktor Szépe
8f8a15827f Fix more typos 2024-01-15 23:26:53 +00:00
german77
9508a12379 input_common: joycon: Move vibrations to a queue 2023-10-22 11:30:59 -06:00
Liam
445d504f94 ci: fix new codespell errors 2023-10-02 18:03:05 -04:00
german77
c6a065cb08 input_common: Allow timeouts to happen while scanning for a ring 2023-06-29 01:07:39 -06:00
german77
38b68d1783 input_common: Remove duplicated DriverResult enum 2023-06-28 09:49:47 -06:00
german77
4c2f8ac0eb input_common: Dont try to read/write data from 3rd party controllers 2023-06-24 18:59:55 -06:00
Narr the Reg
b24451c571 input_common: Implement native mifare support 2023-06-21 17:54:58 -06:00
12101111
3f3e986098 input_common: rename PAGE_SIZE to avoid conflict
See also: https://github.com/yuzu-emu/yuzu/issues/8779
2023-05-30 16:59:06 +08:00
Narr the Reg
60ba48c5e2 input_common: Implement amiibo writting 2023-05-21 21:09:20 -06:00
Narr the Reg
e0d140581b input_common: Fix pro controller amiibo support 2023-05-16 18:37:22 -06:00
german77
62d019dd72 input_common: Make amiibo scanning less demanding 2023-05-14 09:04:37 -06:00
german77
5d49fffd67 input_common: Fix nfc detection for joycons 2023-05-09 00:32:53 -06:00
Liam
5be8a74b0c general: fix spelling mistakes 2023-03-12 11:33:01 -04:00
Narr the Reg
822a967bca input_common: Minor typo issues (#9922) 2023-03-08 03:15:46 +01:00
german77
b1913d2db3 input_common: joycon: Add stick input from passive reports 2023-03-05 12:50:15 -06:00
Narr the Reg
75039440f3 input_common: Reintroduce custom pro controller support 2023-02-09 20:08:54 -06:00
Narr the Reg
c98ef11cfe input_common: Simplify stick from button 2023-02-02 10:13:27 -06:00
Narr the Reg
3fcf573751 input_common: joycon: Remove Magic numbers from common protocol 2023-01-29 20:12:58 -06:00
Narr the Reg
954f7206a6 input_common: joycon: Fill missing enum data 2023-01-29 19:11:46 -06:00
Levi Behunin
2ff6c44168 Move to Clang Format 15
Depends on https://github.com/yuzu-emu/build-environments/pull/69

clang-15 primary run
2023-01-29 17:49:42 -07:00
Narr the Reg
e700634d3c input_common: joycon: Replace ReadSPI vector with span 2023-01-27 18:45:25 -06:00
Narr the Reg
f20ec6f69b input_common: joycon: Remove magic numbers from calibration protocol 2023-01-27 17:12:04 -06:00
Narr the Reg
8666d84926 input_common: Implement SetLowPowerMode and TriggersElapsed for the joycon driver 2023-01-26 11:21:04 -06:00
Narr the Reg
a8579f0b26 Revert 9617 and fix it on input_common 2023-01-25 13:52:50 -06:00
german77
13ccfd78bd input_common: Address byte review 2023-01-20 00:51:45 -06:00
german77
21a62d4752 input_common: Drop Pro controller support from custom driver 2023-01-19 18:05:22 -06:00
german77
4b7ad51ce3 input_common: Fix issue where ring and irs are enabled at the same time 2023-01-19 18:05:22 -06:00
Narr the Reg
91f98f57b3 input_common: Implement joycon ir camera 2023-01-19 18:05:22 -06:00
german77
22eb8ce395 yuzu: Add ring controller test button 2023-01-19 18:05:22 -06:00
german77
5cbeb6f1c4 input_common: Use DriverResult on all engines 2023-01-19 18:05:22 -06:00
german77
82774f546a Address review comments 2023-01-19 18:05:22 -06:00
Narr the Reg
8dbef30cb7 core: hid: Fix input regressions 2023-01-19 18:05:22 -06:00
german77
b40c5ba2c3 input_common: Implement joycon nfc 2023-01-19 18:05:21 -06:00
Narr the Reg
4d68a82563 input_common: Add support for joycon ring controller 2023-01-19 18:05:21 -06:00
Narr the Reg
046e95be06 input_common: Add support for joycon input reports 2023-01-19 18:05:21 -06:00
Narr the Reg
f7164f77d6 input_common: Use calibration from joycon 2023-01-19 18:05:21 -06:00
Narr the Reg
d2f5eae036 input_common: Add support for joycon generic functions 2023-01-19 18:05:21 -06:00
Narr the Reg
147faa16ef input_common: Add joycon low level functions 2023-01-19 18:05:21 -06:00
Narr the Reg
0e41ae9595 input_common: Initial skeleton for custom joycon driver 2023-01-19 18:05:20 -06:00
Narr the Reg
243f2931b5 input_common: Create an update engine 2023-01-05 19:24:29 -06:00
Morph
65b9694ec7 Merge pull request #9338 from lioncash/properties
input_common/helpers: Mark analog property structs members as static constexpr
2022-11-28 13:12:14 -05:00
Lioncash
23e85d2d85 input_common/helpers: Mark analog property structs members as static constexpr
These are const with no dependency on any other data members, so we can
make these static constexpr to reduce the overall object size.
2022-11-28 10:10:37 -05:00
Lioncash
0862aabdc6 common/input: Add helpers functions for creating input and output devices
Avoids the redundancy of needing to explictly specify the common
namespace and the type.
2022-11-28 10:00:37 -05:00
Narr the Reg
8e0e45dcb9 core: hid: Implement true multitouch support 2022-11-19 08:44:33 -06:00
Andrea Pappacoda
6a2efdda2f 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 b2eb103829
2022-07-27 12:53:49 +02:00
FearlessTobi
846c50dd42 Address first part of review comments 2022-07-25 21:59:30 +02:00
Narr the Reg
bd648a74df input_common: Ignore boost uninitialized local variable 2022-04-20 18:28:24 -05:00
ameerj
e7bb6ec32e input_common: Reduce unused includes 2022-03-20 02:25:09 -04:00
Morph
3d13bb3105 input_common: Remove unused core include 2022-02-03 22:44:28 -05:00