german77
62acd50c0b
core: hid: Update motion on a better place
2023-05-07 17:01:57 -06:00
bunnei
8be489f752
Merge pull request #10180 from german77/debug
...
input_common: Revert debugging changes
2023-05-06 22:26:53 -07:00
german77
5776810598
input_common: Revert debugging changes
2023-05-06 23:06:44 -06:00
bunnei
fdb3652f12
Merge pull request #10174 from german77/motriod
...
input_common: Add experimental motion to button
2023-05-06 21:40:20 -07:00
german77
7b41e71877
input_common: Add experimental motion to button
2023-05-05 22:49:56 -06:00
Narr the Reg
53ec77c62c
input_common: Add property to invert an axis button
2023-05-05 17:18:35 -06:00
marius david
f5827baefe
Improve emulation of HD Rumble
2023-05-05 19:30:40 +02:00
Valeri
d359ae51a3
input_common: minor fix to mouse movement
2023-04-14 21:27:35 +03:00
german77
59f50daf74
input_common: sdl: Only send last vibration command
2023-03-12 21:30:02 -06:00
Liam
5be8a74b0c
general: fix spelling mistakes
2023-03-12 11:33:01 -04:00
bunnei
4f1ca556e9
Merge pull request #9906 from german77/metroid2
...
input_common: Increase mouse sensitivity range
2023-03-08 10:43:38 -08:00
Narr the Reg
822a967bca
input_common: Minor typo issues ( #9922 )
2023-03-08 03:15:46 +01:00
german77
db3f4f7515
input_common: Increase mouse sensitivity range
2023-03-07 19:31:52 -06:00
german77
b1913d2db3
input_common: joycon: Add stick input from passive reports
2023-03-05 12:50:15 -06:00
Alexandre Bouvier
e9ec2e4cf0
cmake: use correct boost imported targets
2023-02-28 17:56:01 +01:00
Narr the Reg
76462f79db
input_common: Implement dedicated motion from mouse
2023-02-21 21:55:22 -06:00
Narr the Reg
8a7dfb2439
input_common: Split mouse input into individual devices
2023-02-16 14:22:13 -06:00
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>
2023-02-14 12:35:39 -05:00
arades79
adcef452e0
add static lifetime to constexpr values to force compile time evaluation where possible
...
Signed-off-by: arades79 <scravers@protonmail.com>
2023-02-14 12:33:11 -05: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
bunnei
b781b8621f
Merge pull request #9696 from german77/please_forgive_me_for_this_sin
...
input_common: Implement turbo buttons
2023-02-01 12:08:34 -08:00
german77
db99ab5431
input_common: Implement turbo buttons
2023-02-01 12:42:05 -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
bunnei
be27d89a18
Merge pull request #9689 from german77/joycon-calibration
...
input_common: joycon: Remove magic numbers from calibration protocol
2023-01-29 02:43:14 -08:00
bunnei
5a53999a74
Merge pull request #9677 from Morph1984/sleep-one
...
polyfill_thread: Implement StoppableTimedWait
2023-01-27 18:28:03 -08: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
bunnei
bfe5129779
Merge pull request #9683 from german77/high_power_joycon
...
input_common: Implement SetLowPowerMode and TriggersElapsed
2023-01-26 10:56:31 -08:00
Narr the Reg
8666d84926
input_common: Implement SetLowPowerMode and TriggersElapsed for the joycon driver
2023-01-26 11:21:04 -06:00
liamwhite
430263f84e
Merge pull request #9676 from german77/revert-stick-range
...
Revert #9617 and fix it on input_common
2023-01-25 17:56:47 -05:00
Morph
8be6571a38
input_common: Make use of StoppableTimedWait
2023-01-25 16:43:04 -05:00
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(
~~~~~~~~~~~~~^
2023-01-25 19:52:56 +00:00
Narr the Reg
a8579f0b26
Revert 9617 and fix it on input_common
2023-01-25 13:52:50 -06:00
liamwhite
6c7db928fd
Merge pull request #9492 from german77/joycon_release
...
Input_common: Implement custom joycon driver v2
2023-01-24 09:29:37 -05:00
german77
d7950e0cfb
input_common: Fix joycon mappings
2023-01-20 00:51:46 -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
4dc4ae2aac
input_common: Add dual joycon support
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
59e89afde4
core: hid: Enable pulling color data from controllers
2023-01-19 18:05:20 -06:00
Narr the Reg
216bdb7884
input_common: Disable SDL driver with switch controllers
2023-01-19 18:05:20 -06:00
Narr the Reg
0e41ae9595
input_common: Initial skeleton for custom joycon driver
2023-01-19 18:05:20 -06:00
german77
924d8bf7cc
input_common: reset sdl motion if data is invalid
2023-01-18 10:05:55 -06:00
bunnei
c45b1d8723
Merge pull request #9605 from german77/mouse_mapping
...
yuzu: Read mouse scroll
2023-01-10 17:32:58 -08:00
Narr the Reg
b6721a40fe
yuzu: Read mouse wheel input
2023-01-10 18:20:58 -06:00
liamwhite
067831de41
Merge pull request #9565 from MonsterDruide1/tas-multiplayer-lengths
...
TAS: Show all script lengths for multiplayer
2023-01-10 15:26:36 -05:00
MonsterDruide1
a1bec20a60
TAS: Show all script lengths for multiplayer
2023-01-07 21:15:37 +01:00
Narr the Reg
243f2931b5
input_common: Create an update engine
2023-01-05 19:24:29 -06:00
Liam
41ba0d07e6
cmake: make libusb optional
2022-12-28 17:26:46 -05:00
liamwhite
76eb7c725f
Merge pull request #9471 from german77/input
...
input_common: Cleanup project
2022-12-19 11:09:00 -05:00
german77
f7790b5e3b
input_common: Cleanup project
2022-12-18 15:33:11 -06:00
german77
7510f5971a
bootmanager: Use proper camera size
2022-12-18 00:13:18 -06:00
bunnei
771e450bcc
Merge pull request #9456 from german77/virtual_gamepad
...
input_common: Add virtual gamepad
2022-12-17 17:16:13 -08:00
german77
3cc666b845
input_common: Add virtual gamepad
2022-12-16 18:26:11 -06:00
ameerj
2d9fc5d05b
camera: Use pre-allocated vector for camera data
...
And avoid an unnecessary copy
2022-12-16 18:00:47 -05:00
Narr the Reg
0476f77e9c
input_common: Filter SDL GUID
2022-12-12 10:37:55 -06:00
liamwhite
ec6bca7a6f
Merge pull request #9391 from abouvier/cmake-sdl
...
cmake: use sdl2 imported target
2022-12-06 09:58:48 -05:00
Alexandre Bouvier
87fef2c12c
cmake: prefer system libusb
2022-12-06 05:30:40 +01:00
liamwhite
6a546be6b2
Merge pull request #9369 from german77/mifare
...
service: nfc: Implement mifare service
2022-12-05 22:17:32 -05:00
Alexandre Bouvier
75f9183846
cmake: use sdl2 imported target
2022-12-06 01:26:30 +01:00
Narr the Reg
2679dc707e
input_common: Allow mifare files
2022-12-04 20:02:48 -06:00
liamwhite
c53a3d3f37
Merge pull request #9300 from ameerj/pch
...
CMake: Use precompiled headers to improve compile times
2022-12-03 14:10:06 -05:00
liamwhite
e20c5a0b7f
Merge pull request #9289 from liamwhite/fruit-company
...
general: fix compile for Apple Clang
2022-12-03 12:09:21 -05:00
ameerj
fb155dbffc
CMake: Consolidate common PCH headers
2022-11-30 18:30:30 -05:00
Morph
544d8df4b2
Merge pull request #9349 from lat9nq/cmake-322
...
CMakeLists: Bump minimum required CMake version to 3.22
2022-11-29 19:41:47 -05:00
ameerj
bbf3e7f313
CMake: Use precompiled headers
2022-11-29 18:50:49 -05:00
liamwhite
994e446168
Merge pull request #9322 from german77/pump_events
...
input_common: Pump SDL events from main thread
2022-11-29 18:45:25 -05:00
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.
2022-11-28 23:21:14 -05: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
german77
cddbfe5e67
input_common: Pump sdl events from main thread
2022-11-27 11:09:40 -06:00
german77
23d7d8b9df
yuzu-cmd: Fix input callback crash on close
2022-11-27 10:53:22 -06:00
Liam
5a712bb51a
general: fix compile for Apple Clang
2022-11-22 22:22:28 -05:00
bunnei
914f824b1f
Merge pull request #9238 from german77/cabinet_applet
...
service: am: Implement cabinet applet
2022-11-20 00:48:39 -08:00
Narr the Reg
8e0e45dcb9
core: hid: Implement true multitouch support
2022-11-19 08:44:33 -06:00
german77
9639d49ec6
general: Address review comments
2022-11-13 17:13:43 -06:00
german77
7328e78385
input_common: Add amiibo applet functions
2022-11-13 10:56:54 -06:00
liamwhite
f25243fd9d
Merge pull request #9107 from german77/gidoly_rules
...
input_common: cache vibration tests
2022-10-25 12:13:18 -04:00
Morph
dc61af8eb1
CMakeLists: Remove redundant warnings
...
These warnings are already included in /W3.
2022-10-22 15:02:04 -04:00
Morph
ea5b59b539
CMakeLists: Treat MSVC warnings as errors
2022-10-22 15:02:04 -04:00
Morph
9fba74d245
general: Enforce C4800 everywhere except in video_core
2022-10-22 15:02:04 -04:00
Morph
4bad20dc5f
CMakeLists: Remove all redundant warnings
...
These are already explicitly or implicitly set in src/CMakeLists.txt
2022-10-22 15:02:04 -04:00
german77
96881efdc3
input_common: cache vibration tests
2022-10-21 00:24:08 -05:00
german77
36d02d1fc3
input_common: have an unique vector in callback status
2022-10-09 12:49:18 -05:00
Liam
47fc168030
common: remove "yuzu:" prefix from thread names
2022-10-03 18:43:56 -04:00