Martino Fontana
ef46437605
input_common: set `SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS` to 0
This allows to share the mappings between Nintendo and non-Nintendo controllers.
Breaks the controller configuration for existing users who are using a Nintendo controller.
(Documentation of the hint 92b3c53c92/include/SDL_hints.h (L512-L532))
3 years ago
Narr the Reg
0bb27e9606
input_common: Avoid potential division by zero
3 years ago
german77
921f9baf58
yuzu: Ensure mouse panning can't be enabled with real mouse emulation
3 years ago
Narr the Reg
3241ff028c
input_common: Tune mouse controls
3 years ago
german77
38b68d1783
input_common: Remove duplicated DriverResult enum
3 years ago
german77
b16b2a486b
input_common: Make use of new SDL features
3 years ago
zeltermann
377ffa277c
Only use SDL wakelock on Linux
SDL has internally fixed shenanigans related to wakelocking through DBus
from inside sandboxes from around August 2022, so we can now remove the
workaround we used since 2021.
3 years ago
Narr the Reg
b24451c571
input_common: Implement native mifare support
3 years ago
Narr the Reg
4a5f56645a
input_common: Add amiibo with originality signature support
3 years ago
Baptiste Marie
83f4158d6c
input_common: Redesign mouse panning
3 years ago
bunnei
122ff50c1a
input_common: Fix virtual amiibos
3 years ago
bunnei
04eabc45e5
android: Various fixes for CI.
3 years ago
Narr the Reg
9d11e03d61
android: Implement amiibo reading from nfc tag
3 years ago
Narr the Reg
38b030ac58
android: Add motion sensor
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
marius david
f5827baefe
Improve emulation of HD Rumble
3 years ago
Valeri
d359ae51a3
input_common: minor fix to mouse movement
3 years ago
german77
59f50daf74
input_common: sdl: Only send last vibration command
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
db3f4f7515
input_common: Increase mouse sensitivity range
3 years ago
Narr the Reg
76462f79db
input_common: Implement dedicated motion from mouse
3 years ago
Narr the Reg
8a7dfb2439
input_common: Split mouse input into individual devices
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
954f7206a6
input_common: joycon: Fill missing enum data
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
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
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
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
046e95be06
input_common: Add support for joycon input reports
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
MonsterDruide1
a1bec20a60
TAS: Show all script lengths for multiplayer
4 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
Narr the Reg
2679dc707e
input_common: Allow mifare files
3 years ago