german77
ea4b7226a6
input_common: Add dual joycon support
5 years ago
german77
f20f4587e6
input_common: Implement SDL motion
5 years ago
german77
edd498f6e0
input_common: Fix crash when controller disconnects
5 years ago
german77
85eeae7aad
input_common: Rewrite sdl analog mapping
5 years ago
german77
fd7c273fab
input_common: Sanitize motion data
5 years ago
german77
6e81473574
input_common: Release mouse buttons on out of focus
5 years ago
german77
729545a946
input_common: Reset GC sticks center by measuring multiple packets
5 years ago
german77
c19ad21ae8
hid: Implement SevenSixAxis and ConsoleSixAxisSensor
5 years ago
lat9nq
f973274b99
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
de69a5266f
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
a4c6712a4b
common: Move settings to common from core.
- Removes a dependency on core and input_common from common.
5 years ago
german77
bb3dce9363
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
d9db1d125e
InputCommon: Name properly xbox 360 and one controllers, Fix mappings for Nintendo Pro controllers
5 years ago
german77
41e94b7b99
Enable mouse toggle buttons
5 years ago
german
1f228c51ca
Enable button toggle for keyboard in the modifier button
5 years ago
german
9b3af0027b
inputCommon: Use an unique client id for each socket instance
5 years ago
german77
4738e14cb0
inputCommon: Mouse fixes
5 years ago
Morph
1c550ff954
Revert "Port citra-emu/citra#5123 : "SDL: Disable hidapi drivers due to compatibility problems with certain controllers""
5 years ago
german
594973bdd2
Improve mouse panning
5 years ago
Lioncash
a352f34462
udp: Silence unused member variable warnings
Simply mark them as unused for now.
5 years ago
Lioncash
cda24b8eb1
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
a994a40467
hid: Implement GC controller
5 years ago
german
52b79ac009
Add mouse panning
5 years ago
german
c9597af39d
Add SL SR vectors, change dual joycon view, add missing raw data from keyboard/mouse
5 years ago
german
481cd86722
Make settings controller image change with controller input
5 years ago
ameerj
ef8b3623f5
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
5942d206c2
sdl_impl: Set the maximum vibration duration to 1 second
5 years ago
german
b483f2d010
Always initialize keyboard input
5 years ago
german
8495e1bd83
Add mutitouch support for touch screens
5 years ago
german
d8df9a16bd
Allow to return up to 16 touch inputs per engine
5 years ago
Morph
a745d87971
general: Fix various spelling errors
5 years ago
german
aa4c7687ee
Port citra-emu/citra#5509
5 years ago
gal20
1defd0847a
udp client: process packets only for the correct pad
5 years ago
german
80fece4e08
Allow to invert analog axis with right click
5 years ago
german
b57ba7bfb6
Disable analog joystick from buttons by default
5 years ago
Lioncash
424bffcd3f
mouse_poller: Remove unused includes
5 years ago
Lioncash
16aadcc354
mouse_input: Invert conditional in UpdateYuzuSettings()
Allows the struct to be constructed in place.
5 years ago
Lioncash
395997178b
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
5842a767a9
mouse_input: Resolve a -Wdocumentation warning
5 years ago
Lioncash
774d7eab64
mouse_input: Remove unused includes
5 years ago
german
ece0ae2bfb
Fix implicit conversion in mouse input
5 years ago
german
e46f0e084c
Implement full mouse support
6 years ago
german
2c2b586d86
Add multiple udp server support
6 years ago
Jan Beich
e48e9a406c
input_common: ignore some Clang warnings after 5c4774e8ce
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
6694e11303
input_common: Fix typo in gc_poller.cpp with [[maybe_unused]].
6 years ago
bunnei
7fb7540d69
input_common: Add more missing [[maybe_unused]] from #4927 .
6 years ago
Lioncash
5c4774e8ce
input_common: Treat warnings as errors
Migrates over warnings as errors for input common to match how the
common library treats warnings as errors.
6 years ago
german77
5b6545b141
Modify rumble amplification
6 years ago
Morph
e7e8a87927
sdl_impl: Pump SDL Events at 1000 Hz
6 years ago
Morph
117bdc71e0
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).
6 years ago