summaryrefslogtreecommitdiff
path: root/src/input_common
AgeCommit message (Collapse)Author
2021-07-21Merge pull request #6654 from german77/custom_thresholdbunnei
input_common: Make button threshold customizable
2021-07-20Merge pull request #6649 from german77/toggle_sdlbunnei
input_common: Support SDL toggle buttons
2021-07-20input/sdl_impl: fix rumble support on DualSense. (#6683)Nicolas Jallamion
- value return can be different 0, is not error is normal, error is only -1.
2021-07-19Merge pull request #6652 from lat9nq/cmd-vulkan-fixesbunnei
yuzu-cmd: Linux Vulkan fixes
2021-07-16input_common: Fix mouse panning behaivourgerman77
2021-07-16sdl_impl, emu_window: Remove clang ignorelat9nq
Fixed upstream by libsdl-org/SDL@25fc40b0bd44c484051064bc6b945ea9943f88dd
2021-07-15input_common: Make button threshold customizablegerman77
2021-07-15Merge pull request #6579 from ameerj/float-settingsbunnei
settings: Eliminate usage of float-point setting values
2021-07-15input_common: Support SDL toggle buttonsgerman77
2021-07-10input_common: Fix build with sdl disabledgerman77
2021-07-08configure_input: Use u8 for mouse sensitivityameerj
2021-07-08Merge pull request #6539 from lat9nq/default-settingAmeer J
general: Move most settings' defaults and labels into their definition
2021-07-08general: Code formatting improvementslat9nq
Slight improvements to readability. Dropped suggestions for string_view (settings.h:101), pass by value (settings.h:82), reverting double to a float (config.cpp:316), and other smaller ones, some out of scope. Addresses review feedback. Co-authored-by: Ameer J <52414509+ameerj@users.noreply.github.com>
2021-07-06CMakeLists: Treat -Wsign-compare as an error on GCC/ClangMorph
Treats (un)signed comparison mismatches as errors to be consistent with MSVC
2021-07-05Merge pull request #6537 from Morph1984/warningsbunnei
general: Enforce multiple warnings in MSVC
2021-07-05input_common: Add missing modifier callback to analog from buttongerman77
2021-06-28core, input_common: Miscellaneous fixeslat9nq
bcat: Fix settings access telemetry_session: Fix settings accesses So this is what I get for testing with the web service disabled. touch_from_button: Fix settings access for clang
2021-06-28general: Make most settings a BasicSettinglat9nq
Creates a new BasicSettings class in common/settings, and forces setting a default and label for each setting that uses it in common/settings. Moves defaults and labels from both frontends into common settings. Creates a helper function in each frontend to facillitate reading the settings now with the new default and label properties. Settings::Setting is also now a subclass of Settings::BasicSetting. Also adds documentation for both Setting and BasicSetting.
2021-06-28input_common: Remove #pragma warning directives for external headersMorph
2021-06-28input_common: Enforce C4242Morph
2021-06-24Add missing includes (#6521)Chloe
* Add missing includes * Add array
2021-06-22input_common/mouse_input: Fix data raceRodrigo Locatti
Fix data race using std::jthread and std::stop_token.
2021-06-10Merge pull request #6407 from lat9nq/fix-libusb-2bunnei
cmake: Use autotools for libusb linking generally on GNU, and cleanup
2021-06-03Merge pull request #6389 from german77/Analog_button_fixbunnei
input_common: Analog button, use time based position
2021-06-03cmake: General improvements to libusb linkinglat9nq
Delegates libusb external communication to externals/CMakeLists.txt Ensures an interface library `usb` for every pathway input_common just links to the `usb` library now externals/libusb/CMakeLists.txt sets variables to override SDL2's libusb finding Other minor cleanup
2021-06-01Merge pull request #6318 from german77/dualJoyconbunnei
input_common: Add dual joycon support
2021-05-30input_common: Analog button, use time based position instead of frequent updatesgerman77
2021-05-24Merge pull request #6312 from german77/analogMappingbunnei
input_common: Rewrite sdl analog mapping and fix controller disconnection crash
2021-05-22input_common: Add dual joycon supportgerman77
2021-05-19Merge pull request #6310 from german77/nanMotionbunnei
input_common: Sanitize motion data
2021-05-15input_common: Implement SDL motiongerman77
2021-05-15input_common: Fix crash when controller disconnectsgerman77
2021-05-14input_common: Rewrite sdl analog mappinggerman77
2021-05-13input_common: Sanitize motion datagerman77
2021-05-02input_common: Release mouse buttons on out of focusgerman77
2021-04-30Merge pull request #6243 from german77/GCresetOriginbunnei
input_common: Reset GC sticks center by measuring multiple packets
2021-04-26input_common: Reset GC sticks center by measuring multiple packetsgerman77
2021-04-23hid: Implement SevenSixAxis and ConsoleSixAxisSensorgerman77
2021-04-18general: Ignore implicit-fallthrough for SDL.hlat9nq
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.
2021-04-17cmake: Use SDL 2.0.14 and fix CMake scope issuelat9nq
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.
2021-04-15Merge pull request #6119 from german77/SDLMappingbunnei
InputCommon: Address mapping and naming issues with SDL2
2021-04-14common: Move settings to common from core.bunnei
- Removes a dependency on core and input_common from common.
2021-03-30Use a single connection for UDP server, make connection test longer and ↵german77
check all pads instead of only the first one
2021-03-30InputCommon: Name properly xbox 360 and one controllers, Fix mappings for ↵german77
Nintendo Pro controllers
2021-03-11Merge pull request #6040 from german77/toggleKeyboardbunnei
Enable toggle buttons for keyboard and mouse
2021-03-08Merge pull request #5990 from german77/mousePanningV2bunnei
InputCommon: Mouse fixes
2021-03-06Enable mouse toggle buttonsgerman77
2021-03-05Enable button toggle for keyboard in the modifier buttongerman
2021-03-01inputCommon: Use an unique client id for each socket instancegerman
2021-02-27inputCommon: Mouse fixesgerman77