german77
e99220d321
input_common: Add dual joycon support
5 years ago
german77
b79310def9
input_common: Implement SDL motion
5 years ago
german77
2d3df5d3f4
input_common: Fix crash when controller disconnects
5 years ago
german77
b41d05a12c
input_common: Rewrite sdl analog mapping
5 years ago
german77
eac788499b
input_common: Sanitize motion data
5 years ago
german77
1562858963
input_common: Release mouse buttons on out of focus
5 years ago
german77
7d6d399f26
input_common: Reset GC sticks center by measuring multiple packets
5 years ago
german77
c8845b4fdf
hid: Implement SevenSixAxis and ConsoleSixAxisSensor
5 years ago
lat9nq
1e36a11626
general: Ignore implicit-fallthrough for SDL.h
SDL 2.0.14 introduces an incompatibility with Clang, causing it to
trigger -Wimplicit-fallthrough even though it is marked. Ignore it for
now, with a comment mentioning why this is needed.
5 years ago
lat9nq
c8a26a2cbf
cmake: Use SDL 2.0.14 and fix CMake scope issue
Forces using SDL 2.0.14. Upgrades the SDL external to that version. Adds
a message when switching to the external.
Fixes an error where input_common only links to SDL when SDL2_FOUND is
set, but externals/CMakeLists cannot set that variable to the required
scope. Switch to using ENABLE_SDL2, which we can use since we now
include the SDL source.
5 years ago
bunnei
7a76bc30fa
common: Move settings to common from core.
- Removes a dependency on core and input_common from common.
5 years ago
german77
129c89b47d
Use a single connection for UDP server, make connection test longer and check all pads instead of only the first one
5 years ago
german77
ad6e6210db
InputCommon: Name properly xbox 360 and one controllers, Fix mappings for Nintendo Pro controllers
5 years ago
german77
9c42c9e164
Enable mouse toggle buttons
5 years ago
german
03c81d5e1f
Enable button toggle for keyboard in the modifier button
5 years ago
german
0cb68543e2
inputCommon: Use an unique client id for each socket instance
5 years ago
german77
a380976857
inputCommon: Mouse fixes
5 years ago
Morph
ebf4986174
Revert "Port citra-emu/citra#5123 : "SDL: Disable hidapi drivers due to compatibility problems with certain controllers""
5 years ago
german
47f0b00c9d
Improve mouse panning
5 years ago
Lioncash
4681f5b60b
udp: Silence unused member variable warnings
Simply mark them as unused for now.
5 years ago
Lioncash
70b6d985e7
udp/client: Define ClientData constructor/destructor in cpp file
Prevents compilation errors on clang 12 due to incomplete types within a
unique_ptr member.
5 years ago
german
020c22f53d
hid: Implement GC controller
5 years ago
german
c7cae8769f
Add mouse panning
5 years ago
german
cbe925c31a
Add SL SR vectors, change dual joycon view, add missing raw data from keyboard/mouse
5 years ago
german
93ac87f29e
Make settings controller image change with controller input
5 years ago
ameerj
37e544492e
analog_from_button: Fix update_thread.join exception
This commit aims to address an exception that occurs when trying to join the Analog object's update_thread.
By using an atomic bool for the status of the update thread, we ensure its value is consistent across the threads accessing it.
5 years ago
Morph
6b5e5ad224
sdl_impl: Set the maximum vibration duration to 1 second
5 years ago
german
b92717bec6
Always initialize keyboard input
5 years ago
german
df1070a735
Add mutitouch support for touch screens
5 years ago
german
f452fbfc88
Allow to return up to 16 touch inputs per engine
5 years ago
Morph
23413c0d44
general: Fix various spelling errors
5 years ago
german
f04be5803d
Port citra-emu/citra#5509
5 years ago
gal20
2f5fb99b94
udp client: process packets only for the correct pad
5 years ago
german
139222d3a5
Allow to invert analog axis with right click
5 years ago
german
1a3e4518ec
Disable analog joystick from buttons by default
5 years ago
Lioncash
8e4a23e129
mouse_poller: Remove unused includes
5 years ago
Lioncash
11e20efc1d
mouse_input: Invert conditional in UpdateYuzuSettings()
Allows the struct to be constructed in place.
5 years ago
Lioncash
f8b5b65d6b
mouse_input: Remove two casts and amend some formatting
Removes the use of two static casts and improves the readability of some
vectors slightly.
5 years ago
Lioncash
64daafbaa0
mouse_input: Resolve a -Wdocumentation warning
5 years ago
Lioncash
09b2703682
mouse_input: Remove unused includes
5 years ago
german
544417cd49
Fix implicit conversion in mouse input
5 years ago
german
56a8fee35a
Implement full mouse support
5 years ago
german
6708e0ec0e
Add multiple udp server support
5 years ago
Jan Beich
805312e278
input_common: ignore some Clang warnings after c8aec32f12
error: unknown warning option '-Werror=unused-but-set-parameter'; did you mean '-Werror=unused-parameter'? [-Werror,-Wunknown-warning-option]
error: unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unused-const-variable'? [-Werror,-Wunknown-warning-option]
5 years ago
bunnei
f2bb584578
input_common: Fix typo in gc_poller.cpp with [[maybe_unused]].
5 years ago
bunnei
2382020d8d
input_common: Add more missing [[maybe_unused]] from #4927 .
5 years ago
Lioncash
c8aec32f12
input_common: Treat warnings as errors
Migrates over warnings as errors for input common to match how the
common library treats warnings as errors.
5 years ago
german77
3edd74463f
Modify rumble amplification
5 years ago
Morph
f5ee5e7f3c
sdl_impl: Pump SDL Events at 1000 Hz
5 years ago
Morph
24cfdbc7fe
sdl_impl: Revert to the "old" method of mapping sticks
Not all controllers have a SDL_GameController binding. This caused controllers not present in the SDL GameController database to have buttons mapped instead of axes.
Furthermore, it was not possible to invert the axes when it could be useful such as emulating a horizontal single joycon or other potential cases. This allows us to invert the axes by reversing the order of mapping (vertical, then horizontal).
5 years ago