summaryrefslogtreecommitdiff
path: root/src/input_common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* input_common: Disable sdl raw input modeGravatar german772021-08-121-0/+3
|
* input_common: Improve SDL joystick and hide toggle optionGravatar german772021-08-073-28/+68
|
* Merge pull request #6654 from german77/custom_thresholdGravatar bunnei2021-07-211-3/+3
|\ | | | | input_common: Make button threshold customizable
| * input_common: Make button threshold customizableGravatar german772021-07-151-3/+3
| |
* | Merge pull request #6649 from german77/toggle_sdlGravatar bunnei2021-07-201-4/+51
|\ \ | | | | | | input_common: Support SDL toggle buttons
| * | input_common: Support SDL toggle buttonsGravatar german772021-07-151-4/+51
| | |
* | | input/sdl_impl: fix rumble support on DualSense. (#6683)Gravatar Nicolas Jallamion2021-07-201-2/+2
| | | | | | | | | - value return can be different 0, is not error is normal, error is only -1.
* | | Merge pull request #6652 from lat9nq/cmd-vulkan-fixesGravatar bunnei2021-07-191-8/+0
|\ \ \ | | | | | | | | yuzu-cmd: Linux Vulkan fixes
| * | | sdl_impl, emu_window: Remove clang ignoreGravatar lat9nq2021-07-161-8/+0
| | |/ | |/| | | | | | | | | | Fixed upstream by libsdl-org/SDL@25fc40b0bd44c484051064bc6b945ea9943f88dd
* / | input_common: Fix mouse panning behaivourGravatar german772021-07-161-1/+1
|/ /
* | Merge pull request #6579 from ameerj/float-settingsGravatar bunnei2021-07-151-1/+1
|\ \ | |/ |/| settings: Eliminate usage of float-point setting values
| * configure_input: Use u8 for mouse sensitivityGravatar ameerj2021-07-081-1/+1
| |
* | input_common: Fix build with sdl disabledGravatar german772021-07-101-2/+2
|/
* Merge pull request #6539 from lat9nq/default-settingGravatar Ameer J2021-07-083-4/+5
|\ | | | | general: Move most settings' defaults and labels into their definition
| * general: Code formatting improvementsGravatar lat9nq2021-07-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| * core, input_common: Miscellaneous fixesGravatar lat9nq2021-06-281-1/+2
| | | | | | | | | | | | | | | | | | | | 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
| * general: Make most settings a BasicSettingGravatar lat9nq2021-06-283-5/+5
| | | | | | | | | | | | | | | | | | | | | | 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.
* | CMakeLists: Treat -Wsign-compare as an error on GCC/ClangGravatar Morph2021-07-061-3/+0
| | | | | | | | Treats (un)signed comparison mismatches as errors to be consistent with MSVC
* | Merge pull request #6537 from Morph1984/warningsGravatar bunnei2021-07-053-26/+4
|\ \ | | | | | | general: Enforce multiple warnings in MSVC
| * | input_common: Remove #pragma warning directives for external headersGravatar Morph2021-06-282-14/+0
| | |
| * | input_common: Enforce C4242Gravatar Morph2021-06-281-12/+4
| |/
* / input_common: Add missing modifier callback to analog from buttonGravatar german772021-07-051-0/+1
|/
* Add missing includes (#6521)Gravatar Chloe2021-06-242-0/+3
| | | | | * Add missing includes * Add array
* input_common/mouse_input: Fix data raceGravatar Rodrigo Locatti2021-06-222-12/+10
| | | | Fix data race using std::jthread and std::stop_token.
* Merge pull request #6407 from lat9nq/fix-libusb-2Gravatar bunnei2021-06-101-2/+1
|\ | | | | cmake: Use autotools for libusb linking generally on GNU, and cleanup
| * cmake: General improvements to libusb linkingGravatar lat9nq2021-06-031-2/+1
| | | | | | | | | | | | | | | | | | 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
* | Merge pull request #6389 from german77/Analog_button_fixGravatar bunnei2021-06-032-73/+123
|\ \ | |/ |/| input_common: Analog button, use time based position
| * input_common: Analog button, use time based position instead of frequent updatesGravatar german772021-05-302-73/+123
| |
* | Merge pull request #6318 from german77/dualJoyconGravatar bunnei2021-06-012-60/+258
|\ \ | |/ |/| input_common: Add dual joycon support
| * input_common: Add dual joycon supportGravatar german772021-05-222-60/+258
| |
* | Merge pull request #6312 from german77/analogMappingGravatar bunnei2021-05-241-26/+28
|\ \ | |/ |/| input_common: Rewrite sdl analog mapping and fix controller disconnection crash
| * input_common: Fix crash when controller disconnectsGravatar german772021-05-151-1/+3
| |
| * input_common: Rewrite sdl analog mappingGravatar german772021-05-141-25/+25
| |
* | Merge pull request #6310 from german77/nanMotionGravatar bunnei2021-05-191-0/+23
|\ \ | | | | | | input_common: Sanitize motion data
| * | input_common: Sanitize motion dataGravatar german772021-05-131-0/+23
| |/
* / 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