310c1f50be
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
2044ae6b3a
Fix more typos
2024-01-15 23:26:53 +00:00
e4dfd51337
input_common: joycon: Move vibrations to a queue
2023-10-22 11:30:59 -06:00
0448eb6f0f
ci: fix new codespell errors
2023-10-02 18:03:05 -04:00
ac755476cd
input_common: Allow timeouts to happen while scanning for a ring
2023-06-29 01:07:39 -06:00
df9685a21c
input_common: Remove duplicated DriverResult enum
2023-06-28 09:49:47 -06:00
5aa208e264
input_common: Dont try to read/write data from 3rd party controllers
2023-06-24 18:59:55 -06:00
84d43489c5
input_common: Implement native mifare support
2023-06-21 17:54:58 -06:00
f78f82e08d
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
fdb2002f77
input_common: Implement amiibo writting
2023-05-21 21:09:20 -06:00
5693434b8a
input_common: Fix pro controller amiibo support
2023-05-16 18:37:22 -06:00
ac531aa15f
input_common: Make amiibo scanning less demanding
2023-05-14 09:04:37 -06:00
cb1487d774
input_common: Fix nfc detection for joycons
2023-05-09 00:32:53 -06:00
600f325d87
general: fix spelling mistakes
2023-03-12 11:33:01 -04:00
757aafa582
input_common: Minor typo issues ( #9922 )
2023-03-08 03:15:46 +01:00
97704b8da9
input_common: joycon: Add stick input from passive reports
2023-03-05 12:50:15 -06:00
acba9a6b76
input_common: Reintroduce custom pro controller support
2023-02-09 20:08:54 -06:00
2f2e88c3fb
input_common: Simplify stick from button
2023-02-02 10:13:27 -06:00
c318a4c80b
input_common: joycon: Remove Magic numbers from common protocol
2023-01-29 20:12:58 -06:00
11fea5deea
input_common: joycon: Fill missing enum data
2023-01-29 19:11:46 -06:00
d5fc56db4b
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
4e29afefc4
input_common: joycon: Replace ReadSPI vector with span
2023-01-27 18:45:25 -06:00
8647c72778
input_common: joycon: Remove magic numbers from calibration protocol
2023-01-27 17:12:04 -06:00
49707916db
input_common: Implement SetLowPowerMode and TriggersElapsed for the joycon driver
2023-01-26 11:21:04 -06:00
cc821bfae1
Revert 9617 and fix it on input_common
2023-01-25 13:52:50 -06:00
340f15d1fa
input_common: Address byte review
2023-01-20 00:51:45 -06:00
b40aefb39e
input_common: Drop Pro controller support from custom driver
2023-01-19 18:05:22 -06:00
d05ea2f3eb
input_common: Fix issue where ring and irs are enabled at the same time
2023-01-19 18:05:22 -06:00
459fb2b213
input_common: Implement joycon ir camera
2023-01-19 18:05:22 -06:00
5cb437703f
yuzu: Add ring controller test button
2023-01-19 18:05:22 -06:00
527dad7097
input_common: Use DriverResult on all engines
2023-01-19 18:05:22 -06:00
e1a3bda4d9
Address review comments
2023-01-19 18:05:22 -06:00
1c08d532e0
core: hid: Fix input regressions
2023-01-19 18:05:22 -06:00
6d6b7bdbc3
input_common: Implement joycon nfc
2023-01-19 18:05:21 -06:00
751d36e739
input_common: Add support for joycon ring controller
2023-01-19 18:05:21 -06:00
f09a023292
input_common: Add support for joycon input reports
2023-01-19 18:05:21 -06:00
5676c2e17f
input_common: Use calibration from joycon
2023-01-19 18:05:21 -06:00
594b2ade6d
input_common: Add support for joycon generic functions
2023-01-19 18:05:21 -06:00
6aa6301acd
input_common: Add joycon low level functions
2023-01-19 18:05:21 -06:00
d80e6c399b
input_common: Initial skeleton for custom joycon driver
2023-01-19 18:05:20 -06:00
8042ce7e19
input_common: Create an update engine
2023-01-05 19:24:29 -06:00
51abe35e05
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
8265c167d3
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
2ec7d0b5fd
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
38c48cf8d8
core: hid: Implement true multitouch support
2022-11-19 08:44:33 -06:00
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
2022-07-27 12:53:49 +02:00
6c8e456185
Address first part of review comments
2022-07-25 21:59:30 +02:00
17bff6bf57
input_common: Ignore boost uninitialized local variable
2022-04-20 18:28:24 -05:00
967ed01fcf
input_common: Reduce unused includes
2022-03-20 02:25:09 -04:00
fbefcf7280
input_common: Remove unused core include
2022-02-03 22:44:28 -05:00