Levi Behunin
d5fc56db4b
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
4e29afefc4
input_common: joycon: Replace ReadSPI vector with span
3 years ago
Narr the Reg
8647c72778
input_common: joycon: Remove magic numbers from calibration protocol
3 years ago
Narr the Reg
49707916db
input_common: Implement SetLowPowerMode and TriggersElapsed for the joycon driver
3 years ago
Morph
c55147b24a
input_common: Make use of StoppableTimedWait
3 years ago
Jan Beich
20c7084892
input_common: add missing header for libc++ after 340f15d1fa
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
cc821bfae1
Revert 9617 and fix it on input_common
3 years ago
german77
fafa92cfb8
input_common: Fix joycon mappings
3 years ago
german77
340f15d1fa
input_common: Address byte review
3 years ago
german77
b40aefb39e
input_common: Drop Pro controller support from custom driver
3 years ago
german77
d05ea2f3eb
input_common: Fix issue where ring and irs are enabled at the same time
3 years ago
Narr the Reg
459fb2b213
input_common: Implement joycon ir camera
3 years ago
german77
5cb437703f
yuzu: Add ring controller test button
3 years ago
german77
527dad7097
input_common: Use DriverResult on all engines
3 years ago
german77
e1a3bda4d9
Address review comments
3 years ago
Narr the Reg
1c08d532e0
core: hid: Fix input regressions
3 years ago
german77
6d6b7bdbc3
input_common: Implement joycon nfc
3 years ago
Narr the Reg
6e33731f29
input_common: Add dual joycon support
3 years ago
Narr the Reg
751d36e739
input_common: Add support for joycon ring controller
3 years ago
Narr the Reg
f09a023292
input_common: Add support for joycon input reports
3 years ago
Narr the Reg
5676c2e17f
input_common: Use calibration from joycon
3 years ago
Narr the Reg
594b2ade6d
input_common: Add support for joycon generic functions
3 years ago
Narr the Reg
6aa6301acd
input_common: Add joycon low level functions
3 years ago
Narr the Reg
ed5fa10e97
core: hid: Enable pulling color data from controllers
3 years ago
Narr the Reg
2d802893e7
input_common: Disable SDL driver with switch controllers
3 years ago
Narr the Reg
d80e6c399b
input_common: Initial skeleton for custom joycon driver
3 years ago
german77
db6cb9cc0a
input_common: reset sdl motion if data is invalid
3 years ago
Narr the Reg
87b02f78e1
yuzu: Read mouse wheel input
3 years ago
MonsterDruide1
115bf20448
TAS: Show all script lengths for multiplayer
4 years ago
Narr the Reg
8042ce7e19
input_common: Create an update engine
3 years ago
Liam
be43b62d79
cmake: make libusb optional
3 years ago
german77
cf01a507fb
input_common: Cleanup project
3 years ago
german77
f999d268f9
bootmanager: Use proper camera size
3 years ago
german77
243404bf34
input_common: Add virtual gamepad
3 years ago
ameerj
7bf4bec257
camera: Use pre-allocated vector for camera data
And avoid an unnecessary copy
3 years ago
Narr the Reg
3e1e6c66c0
input_common: Filter SDL GUID
3 years ago
Alexandre Bouvier
f385175aa2
cmake: prefer system libusb
3 years ago
Alexandre Bouvier
e6ae720c33
cmake: use sdl2 imported target
3 years ago
Narr the Reg
752236caad
input_common: Allow mifare files
3 years ago
ameerj
5b5612c1cc
CMake: Consolidate common PCH headers
3 years ago
ameerj
37bc5118ea
CMake: Use precompiled headers
3 years ago
lat9nq
0941ae0b61
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
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.
3 years ago
Lioncash
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.
3 years ago
german77
7d8095d944
input_common: Pump sdl events from main thread
3 years ago
german77
a67e776af9
yuzu-cmd: Fix input callback crash on close
3 years ago
Liam
9737615948
general: fix compile for Apple Clang
3 years ago
Narr the Reg
38c48cf8d8
core: hid: Implement true multitouch support
3 years ago
german77
75e6ec85e1
general: Address review comments
3 years ago
german77
b193d40d22
input_common: Add amiibo applet functions
3 years ago