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
Morph
8be6571a38
input_common: Make use of StoppableTimedWait
3 years ago
Jan Beich
e22bf4d418
input_common: add missing header for libc++ after 13ccfd78bd
src/input_common/drivers/joycon.cpp:187:26: error: no member named 'find_if' in namespace 'std::ranges'
std::ranges::find_if(left_joycons, [](auto& device) { return !device->IsConnected(); });
~~~~~~~~~~~~~^
src/input_common/drivers/joycon.cpp:193:54: error: no member named 'find_if' in namespace 'std::ranges'
const auto unconnected_device = std::ranges::find_if(
~~~~~~~~~~~~~^
src/input_common/drivers/joycon.cpp:393:51: error: no member named 'find_if' in namespace 'std::ranges'
const auto matching_device = std::ranges::find_if(
~~~~~~~~~~~~~^
src/input_common/drivers/joycon.cpp:402:51: error: no member named 'find_if' in namespace 'std::ranges'
const auto matching_device = std::ranges::find_if(
~~~~~~~~~~~~~^
3 years ago
Narr the Reg
a8579f0b26
Revert 9617 and fix it on input_common
3 years ago
german77
d7950e0cfb
input_common: Fix joycon mappings
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
4dc4ae2aac
input_common: Add dual joycon support
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
59e89afde4
core: hid: Enable pulling color data from controllers
3 years ago
Narr the Reg
216bdb7884
input_common: Disable SDL driver with switch controllers
3 years ago
Narr the Reg
0e41ae9595
input_common: Initial skeleton for custom joycon driver
3 years ago
german77
924d8bf7cc
input_common: reset sdl motion if data is invalid
3 years ago
Narr the Reg
b6721a40fe
yuzu: Read mouse wheel input
3 years ago
MonsterDruide1
a1bec20a60
TAS: Show all script lengths for multiplayer
4 years ago
Narr the Reg
243f2931b5
input_common: Create an update engine
3 years ago
Liam
41ba0d07e6
cmake: make libusb optional
3 years ago
german77
f7790b5e3b
input_common: Cleanup project
3 years ago
german77
7510f5971a
bootmanager: Use proper camera size
3 years ago
german77
3cc666b845
input_common: Add virtual gamepad
3 years ago
ameerj
2d9fc5d05b
camera: Use pre-allocated vector for camera data
And avoid an unnecessary copy
3 years ago
Narr the Reg
0476f77e9c
input_common: Filter SDL GUID
3 years ago
Alexandre Bouvier
87fef2c12c
cmake: prefer system libusb
3 years ago
Alexandre Bouvier
75f9183846
cmake: use sdl2 imported target
3 years ago
Narr the Reg
2679dc707e
input_common: Allow mifare files
3 years ago
ameerj
fb155dbffc
CMake: Consolidate common PCH headers
3 years ago
ameerj
bbf3e7f313
CMake: Use precompiled headers
3 years ago
lat9nq
868c5ca1cb
CMake: Directly link to SDL2-static when appropriate
Trying to be lazy and alias SDL2 to SDL2-static causes issues in later
versions of CMake. Just use the same condition to tell which one to use.
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.
3 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.
3 years ago
german77
cddbfe5e67
input_common: Pump sdl events from main thread
3 years ago
german77
23d7d8b9df
yuzu-cmd: Fix input callback crash on close
3 years ago
Liam
5a712bb51a
general: fix compile for Apple Clang
3 years ago
Narr the Reg
8e0e45dcb9
core: hid: Implement true multitouch support
3 years ago