summaryrefslogtreecommitdiff
path: root/src/input_common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input_common: Implement SDL motionGravatar german772021-05-154-3/+159
|
* input_common: Release mouse buttons on out of focusGravatar german772021-05-022-1/+16
|
* Merge pull request #6243 from german77/GCresetOriginGravatar bunnei2021-04-302-2/+7
|\ | | | | input_common: Reset GC sticks center by measuring multiple packets
| * input_common: Reset GC sticks center by measuring multiple packetsGravatar german772021-04-262-2/+7
| |
* | hid: Implement SevenSixAxis and ConsoleSixAxisSensorGravatar german772021-04-231-2/+8
|/
* general: Ignore implicit-fallthrough for SDL.hGravatar lat9nq2021-04-181-0/+10
| | | | | | 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.
* cmake: Use SDL 2.0.14 and fix CMake scope issueGravatar lat9nq2021-04-171-1/+1
| | | | | | | | | | 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.
* Merge pull request #6119 from german77/SDLMappingGravatar bunnei2021-04-152-6/+24
|\ | | | | InputCommon: Address mapping and naming issues with SDL2
| * InputCommon: Name properly xbox 360 and one controllers, Fix mappings for ↵Gravatar german772021-03-302-6/+24
| | | | | | | | Nintendo Pro controllers
* | common: Move settings to common from core.Gravatar bunnei2021-04-1410-428/+7
| | | | | | | | - Removes a dependency on core and input_common from common.
* | Use a single connection for UDP server, make connection test longer and ↵Gravatar german772021-03-302-95/+96
|/ | | | check all pads instead of only the first one
* Merge pull request #6040 from german77/toggleKeyboardGravatar bunnei2021-03-114-8/+84
|\ | | | | Enable toggle buttons for keyboard and mouse
| * Enable mouse toggle buttonsGravatar german772021-03-064-10/+63
| |
| * Enable button toggle for keyboard in the modifier buttonGravatar german2021-03-051-3/+26
| |
* | Merge pull request #5990 from german77/mousePanningV2Gravatar bunnei2021-03-082-8/+15
|\ \ | |/ |/| InputCommon: Mouse fixes
| * inputCommon: Mouse fixesGravatar german772021-02-272-8/+15
| |
* | inputCommon: Use an unique client id for each socket instanceGravatar german2021-03-012-13/+19
|/
* Revert "Port citra-emu/citra#5123: "SDL: Disable hidapi drivers due to ↵Gravatar Morph2021-02-181-7/+0
| | | | compatibility problems with certain controllers""
* Merge pull request #5929 from german77/mousePanningGravatar Morph2021-02-161-5/+21
|\ | | | | Improve mouse panning
| * Improve mouse panningGravatar german2021-02-131-5/+21
| |
* | Merge pull request #3603 from FearlessTobi/port-5123Gravatar bunnei2021-02-151-0/+7
|\ \ | | | | | | Port citra-emu/citra#5123: "SDL: Disable hidapi drivers due to compatibility problems with certain controllers"
| * | sdl_joystick: disable the use of the hidapi drivers due to many problems ↵Gravatar Vitor Kiguchi2020-08-301-0/+7
| | | | | | | | | | | | | | | | | | | | | caused by them. The main problem is the loss of compatibility with some controllers, but there are also unwanted changes to the behaviour of PS4 controllers (hardcoded lightbar color).
* | | Merge pull request #4940 from german77/nativeGCGravatar bunnei2021-02-151-0/+1
|\ \ \ | |_|/ |/| | HID: Implement GC controller in game
| * | hid: Implement GC controllerGravatar german2021-02-071-0/+1
| | |
* | | Merge pull request #5869 from german77/mousePanningGravatar bunnei2021-02-113-3/+39
|\ \ \ | | | | | | | | input_common: Add mouse panning
| * | | Add mouse panningGravatar german2021-02-073-3/+39
| | | |
* | | | udp: Silence unused member variable warningsGravatar Lioncash2021-02-091-2/+2
| | | | | | | | | | | | | | | | Simply mark them as unused for now.
* | | | udp/client: Define ClientData constructor/destructor in cpp fileGravatar Lioncash2021-02-092-0/+7
| |/ / |/| | | | | | | | | | | Prevents compilation errors on clang 12 due to incomplete types within a unique_ptr member.
* | | Add SL SR vectors, change dual joycon view, add missing raw data from ↵Gravatar german2021-02-062-0/+14
| | | | | | | | | | | | keyboard/mouse
* | | Make settings controller image change with controller inputGravatar german2021-02-062-0/+20
|/ /
* | analog_from_button: Fix update_thread.join exceptionGravatar ameerj2021-01-291-5/+9
| | | | | | | | | | | | 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.
* | sdl_impl: Set the maximum vibration duration to 1 secondGravatar Morph2021-01-231-2/+6
| |
* | Always initialize keyboard inputGravatar german2021-01-151-10/+8
| |
* | Add mutitouch support for touch screensGravatar german2021-01-153-17/+14
| |
* | Allow to return up to 16 touch inputs per engineGravatar german2021-01-155-92/+116
| |
* | general: Fix various spelling errorsGravatar Morph2021-01-024-9/+9
| |
* | Merge pull request #5265 from german77/port5509Gravatar bunnei2020-12-301-2/+45
|\ \ | | | | | | Port citra-emu/citra#5509 "Look at direction of analog axis travel instead of instantaneous sample"
| * | Port citra-emu/citra#5509Gravatar german2020-12-301-2/+45
| | |
* | | Merge pull request #5236 from gal20/udp_client_patchGravatar bunnei2020-12-291-0/+5
|\ \ \ | | | | | | | | input_common: process udp packets only for the correct pad
| * | | udp client: process packets only for the correct padGravatar gal202020-12-271-0/+5
| | | |
* | | | Allow to invert analog axis with right clickGravatar german2020-12-263-17/+62
|/ / /
* | | Merge pull request #5020 from german77/AnalogfromButtonFixGravatar Morph2020-12-081-1/+21
|\ \ \ | |/ / |/| | Disable analog joystick from buttons by default
| * | Disable analog joystick from buttons by defaultGravatar german2020-12-071-1/+21
| | |
* | | mouse_poller: Remove unused includesGravatar Lioncash2020-12-031-3/+1
| | |
* | | mouse_input: Invert conditional in UpdateYuzuSettings()Gravatar Lioncash2020-12-031-4/+6
| | | | | | | | | | | | Allows the struct to be constructed in place.
* | | mouse_input: Remove two casts and amend some formattingGravatar Lioncash2020-12-031-11/+14
| | | | | | | | | | | | | | | Removes the use of two static casts and improves the readability of some vectors slightly.
* | | mouse_input: Resolve a -Wdocumentation warningGravatar Lioncash2020-12-031-1/+1
| | |
* | | mouse_input: Remove unused includesGravatar Lioncash2020-12-032-7/+3
| | |
* | | Merge pull request #4937 from german77/multiUDPGravatar bunnei2020-12-014-100/+149
|\ \ \ | | | | | | | | InputCommon: Add multiple udp server support
| * | | Add multiple udp server supportGravatar german2020-11-254-100/+149
| | | |