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.
2 years ago
Viktor Szépe
8f8a15827f
Fix more typos
2 years ago
german77
9508a12379
input_common: joycon: Move vibrations to a queue
3 years ago
Liam
445d504f94
ci: fix new codespell errors
3 years ago
german77
c6a065cb08
input_common: Allow timeouts to happen while scanning for a ring
3 years ago
german77
38b68d1783
input_common: Remove duplicated DriverResult enum
3 years ago
german77
4c2f8ac0eb
input_common: Dont try to read/write data from 3rd party controllers
3 years ago
Narr the Reg
b24451c571
input_common: Implement native mifare support
3 years ago
12101111
3f3e986098
input_common: rename PAGE_SIZE to avoid conflict
See also: https://github.com/yuzu-emu/yuzu/issues/8779
3 years ago
Narr the Reg
60ba48c5e2
input_common: Implement amiibo writting
3 years ago
Narr the Reg
e0d140581b
input_common: Fix pro controller amiibo support
3 years ago
german77
62d019dd72
input_common: Make amiibo scanning less demanding
3 years ago
german77
5d49fffd67
input_common: Fix nfc detection for joycons
3 years ago
Liam
5be8a74b0c
general: fix spelling mistakes
3 years ago
Narr the Reg
822a967bca
input_common: Minor typo issues ( #9922 )
3 years ago
german77
b1913d2db3
input_common: joycon: Add stick input from passive reports
3 years ago
arades79
60a68839ee
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>
3 years ago
arades79
adcef452e0
add static lifetime to constexpr values to force compile time evaluation where possible
Signed-off-by: arades79 <scravers@protonmail.com>
3 years ago
Narr the Reg
75039440f3
input_common: Reintroduce custom pro controller support
3 years ago
Narr the Reg
c98ef11cfe
input_common: Simplify stick from button
3 years ago
Narr the Reg
3fcf573751
input_common: joycon: Remove Magic numbers from common protocol
3 years ago
Narr the Reg
954f7206a6
input_common: joycon: Fill missing enum data
3 years ago
Levi Behunin
2ff6c44168
Move to Clang Format 15
Depends on https://github.com/yuzu-emu/build-environments/pull/69
clang-15 primary run
3 years ago
Narr the Reg
e700634d3c
input_common: joycon: Replace ReadSPI vector with span
3 years ago
Narr the Reg
f20ec6f69b
input_common: joycon: Remove magic numbers from calibration protocol
3 years ago
Narr the Reg
8666d84926
input_common: Implement SetLowPowerMode and TriggersElapsed for the joycon driver
3 years ago
Narr the Reg
a8579f0b26
Revert 9617 and fix it on input_common
3 years ago
german77
13ccfd78bd
input_common: Address byte review
3 years ago
german77
21a62d4752
input_common: Drop Pro controller support from custom driver
3 years ago
german77
4b7ad51ce3
input_common: Fix issue where ring and irs are enabled at the same time
3 years ago
Narr the Reg
91f98f57b3
input_common: Implement joycon ir camera
3 years ago
german77
22eb8ce395
yuzu: Add ring controller test button
3 years ago
german77
5cbeb6f1c4
input_common: Use DriverResult on all engines
3 years ago
german77
82774f546a
Address review comments
3 years ago
Narr the Reg
8dbef30cb7
core: hid: Fix input regressions
3 years ago
german77
b40c5ba2c3
input_common: Implement joycon nfc
3 years ago
Narr the Reg
4d68a82563
input_common: Add support for joycon ring controller
3 years ago
Narr the Reg
046e95be06
input_common: Add support for joycon input reports
3 years ago
Narr the Reg
f7164f77d6
input_common: Use calibration from joycon
3 years ago
Narr the Reg
d2f5eae036
input_common: Add support for joycon generic functions
3 years ago
Narr the Reg
147faa16ef
input_common: Add joycon low level functions
3 years ago
Narr the Reg
0e41ae9595
input_common: Initial skeleton for custom joycon driver
3 years ago
Narr the Reg
243f2931b5
input_common: Create an update engine
3 years ago
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.
4 years ago
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.
4 years ago
Narr the Reg
8e0e45dcb9
core: hid: Implement true multitouch support
4 years ago
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
4 years ago
FearlessTobi
846c50dd42
Address first part of review comments
4 years ago
Narr the Reg
bd648a74df
input_common: Ignore boost uninitialized local variable
4 years ago
ameerj
e7bb6ec32e
input_common: Reduce unused includes
4 years ago