summaryrefslogtreecommitdiffstats
path: root/src/input_common (unfollow)
Commit message (Expand)AuthorFilesLines
2021-06-22input_common/mouse_input: Fix data raceRodrigo Locatti2-12/+10
2021-06-03cmake: General improvements to libusb linkinglat9nq1-2/+1
2021-05-30input_common: Analog button, use time based position instead of frequent updatesgerman772-73/+123
2021-05-23input_common: Add dual joycon supportgerman772-60/+258
2021-05-15input_common: Implement SDL motiongerman774-3/+159
2021-05-15input_common: Fix crash when controller disconnectsgerman771-1/+3
2021-05-15input_common: Rewrite sdl analog mappinggerman771-25/+25
2021-05-13input_common: Sanitize motion datagerman771-0/+23
2021-05-03input_common: Release mouse buttons on out of focusgerman772-1/+16
2021-04-27input_common: Reset GC sticks center by measuring multiple packetsgerman772-2/+7
2021-04-24hid: Implement SevenSixAxis and ConsoleSixAxisSensorgerman771-2/+8
2021-04-18general: Ignore implicit-fallthrough for SDL.hlat9nq1-0/+10
2021-04-18cmake: Use SDL 2.0.14 and fix CMake scope issuelat9nq1-1/+1
2021-04-15common: Move settings to common from core.bunnei10-428/+7
2021-03-31Use a single connection for UDP server, make connection test longer and check all pads instead of only the first onegerman772-95/+96
2021-03-31InputCommon: Name properly xbox 360 and one controllers, Fix mappings for Nintendo Pro controllersgerman772-6/+24
2021-03-06Enable mouse toggle buttonsgerman774-10/+63
2021-03-06Enable button toggle for keyboard in the modifier buttongerman1-3/+26
2021-03-01inputCommon: Use an unique client id for each socket instancegerman2-13/+19
2021-02-28inputCommon: Mouse fixesgerman772-8/+15
2021-02-18Revert "Port citra-emu/citra#5123: "SDL: Disable hidapi drivers due to compatibility problems with certain controllers""Morph1-7/+0
2021-02-14Improve mouse panninggerman1-5/+21
2021-02-09udp: Silence unused member variable warningsLioncash1-2/+2
2021-02-09udp/client: Define ClientData constructor/destructor in cpp fileLioncash2-0/+7
2021-02-08hid: Implement GC controllergerman1-0/+1
2021-02-08Add mouse panninggerman3-3/+39
2021-02-06Add SL SR vectors, change dual joycon view, add missing raw data from keyboard/mousegerman2-0/+14
2021-02-06Make settings controller image change with controller inputgerman2-0/+20
2021-01-30analog_from_button: Fix update_thread.join exceptionameerj1-5/+9
2021-01-23sdl_impl: Set the maximum vibration duration to 1 secondMorph1-2/+6
2021-01-15Always initialize keyboard inputgerman1-10/+8
2021-01-15Add mutitouch support for touch screensgerman3-17/+14
2021-01-15Allow to return up to 16 touch inputs per enginegerman5-92/+116
2021-01-02general: Fix various spelling errorsMorph4-9/+9
2020-12-31Port citra-emu/citra#5509german1-2/+45
2020-12-27udp client: process packets only for the correct padgal201-0/+5
2020-12-27Allow to invert analog axis with right clickgerman3-17/+62
2020-12-08Disable analog joystick from buttons by defaultgerman1-1/+21
2020-12-03mouse_poller: Remove unused includesLioncash1-3/+1
2020-12-03mouse_input: Invert conditional in UpdateYuzuSettings()Lioncash1-4/+6
2020-12-03mouse_input: Remove two casts and amend some formattingLioncash1-11/+14
2020-12-03mouse_input: Resolve a -Wdocumentation warningLioncash1-1/+1
2020-12-03mouse_input: Remove unused includesLioncash2-7/+3
2020-12-01Fix implicit conversion in mouse inputgerman1-6/+8
2020-11-26Implement full mouse supportgerman9-242/+697
2020-11-26Add multiple udp server supportgerman4-100/+149
2020-11-26input_common: ignore some Clang warnings after 5c4774e8ce1dJan Beich1-2/+2
2020-11-24input_common: Fix typo in gc_poller.cpp with [[maybe_unused]].bunnei1-2/+2
2020-11-24input_common: Add more missing [[maybe_unused]] from #4927.bunnei3-4/+6
2020-11-22input_common: Treat warnings as errorsLioncash7-9/+22
2020-11-19Modify rumble amplificationgerman772-4/+3
2020-11-16sdl_impl: Pump SDL Events at 1000 HzMorph1-1/+1
2020-11-16sdl_impl: Revert to the "old" method of mapping sticksMorph1-32/+13
2020-11-16controllers/npad: Remove the old vibration filterMorph1-15/+0
2020-11-16input_common: Add VibrationDevice and VibrationDeviceFactoryMorph9-46/+159
2020-11-16configure_input: Add per-player vibrationMorph1-0/+3
2020-11-16controllers/npad: Add heuristics to reduce rumble state changesMorph1-29/+25
2020-11-16configure_input_player: Change "Defaults" button behaviorMorph1-8/+0
2020-11-16udp/client: Reduce testing period to 5 secondsMorph1-1/+1
2020-11-16configure_input_player: Implement input exclusivity and persistenceMorph1-3/+3
2020-11-15motion_input: Mark constructor as explicitLioncash1-1/+1
2020-11-15motion_input: Mark member functions as [[nodiscard]] where applicableLioncash1-10/+11
2020-11-10fix minor clang errorgerman1-1/+1
2020-11-08Allow to dial any angle with digital joystickgerman1-19/+103
2020-10-29Add hotplug, rumble and fix 3rd party adapters for the GC adaptergerman3-303/+433
2020-10-21sdl_impl: Fix controller reconnection issuesMorph1-85/+84
2020-10-20configure_input_player: Fix modifier buttonsMorph1-2/+0
2020-10-16udp/client: Make use of designated initializers in TestCommunication()Lioncash1-2/+5
2020-10-16udp/client: Take std::function by const reference with TestCommunication()Lioncash2-5/+5
2020-10-16sdl_impl: Erase the SDLJoystick entry after removing a controllerMorph1-15/+13
2020-10-16input_common/CMakeLists: Make some warnings errorsLioncash16-191/+237
2020-10-05Address commentsgerman2-40/+40
2020-10-04Add compatibility with only accelerometer and auto calibrate for driftgerman2-12/+106
2020-09-30Reduce the "shake" requirements when configuring UDP.Lukas Senionis1-2/+6
2020-09-29First implementation of controller rumblegerman1-1/+38
2020-09-26Add random motion input to keyboardgerman4-0/+65
2020-09-26Add random motion input to SDLgerman5-5/+230
2020-09-18Add automap feature for GC adaptergerman3-1/+103
2020-09-15gc_adapter: Disable MSVC nonstandard extension warning on libusb.hReinUsesLisp1-0/+9
2020-09-07gc_adapter: Make DeviceConnected() a const member functionLioncash3-9/+9
2020-09-05Minor cleanupgerman1-19/+16
2020-09-05Add cemu hook changes related to PR #4609german6-137/+426
2020-09-05Remove RealMotionDevicegerman4-7/+25
2020-09-05Include HID and configuration changes related to motiongerman3-1/+33
2020-09-02input_common/motion_input: Make use of Common::PI constantMorph2-4/+9
2020-08-30sdl_joystick: disable the use of the hidapi drivers due to many problems caused by them.Vitor Kiguchi1-0/+7
2020-08-30Address second batch of reviewsFearlessTobi3-6/+2
2020-08-29Address review comments and fix code compilationFearlessTobi3-6/+11
2020-08-29yuzu: Add motion and touch configurationFearlessTobi5-0/+88
2020-08-29sdl_impl: Reduce allocations in GetButtonMappingForDevice()Lioncash1-31/+37
2020-08-29sdl_impl: Make use of std::move on std::string where applicableLioncash1-3/+3
2020-08-29sdl_impl: Make use of insert_or_assign() where applicableLioncash1-14/+18
2020-08-29sdl_impl: Prevent type truncation in BuildAnalogParamPackageForButton() default argumentsLioncash1-1/+1
2020-08-29sdl_impl: Simplify make_tuple callLioncash1-1/+1
2020-08-29sdl_impl: Mark FromEvent() as a const member functionLioncash1-2/+2
2020-08-29input_common/main: Remove unnecessary headersLioncash3-5/+11
2020-08-29input_common/main: Remove unimplemented prototypeLioncash1-3/+0
2020-08-28Fix orientation errors and improve drift correctiongerman2-14/+31
2020-08-28Address commentsgerman2-85/+65
2020-08-28Implement a basic class for motion devicesgerman3-0/+249
2020-08-27input_common: Eliminate most global stateLioncash2-153/+227
2020-08-27input_common/main: Add "/Mouse" to the display nameMorph1-1/+1
2020-08-26input_common: Fix directional deadzone valuesMorph2-2/+2
2020-08-26Address feedbackMorph5-44/+32
2020-08-26Project Mjölnir: Part 1Morph11-102/+798
2020-08-26gc_poller: Resolve compilation warnings on MSVCLioncash1-3/+5
2020-08-13General: Tidy up clang-format warnings part 2Lioncash1-4/+2
2020-08-10Remove UI changesameerj2-2/+2
2020-08-10Add range slider functionality for gc adapterameerj1-7/+7
2020-08-10undo unnecessary newlines, slider range 50-150Ameer1-1/+1
2020-08-10Add range slider for analog sticksAmeer1-11/+14
2020-07-26GCAdapter: only join worker thread if running & joinableBrian J. Tarricone1-1/+3
2020-07-25udp/client: Remove unused boost includeLioncash1-1/+0
2020-07-25gc_adapter: Resolve C++20 deprecation warningLioncash1-1/+1
2020-07-25gc_poller: Resolve -Wsign-compare warningLioncash1-1/+2
2020-07-25gc_poller: Resolve -Wredundant-move warningLioncash1-2/+1
2020-07-19Fix axis thresholding while pollingameerj1-5/+2
2020-07-17std::size_t where appropriate, make error message more clear if can't readameerj1-3/+4
2020-07-16Refactor adapter codeAmeer2-179/+44
2020-07-14Fix crash if gc configured but adapter not connectedAmeer2-15/+25
2020-07-14input_common: drop unused libusb.h includeAmeer1-1/+0
2020-07-13input_common: make libusb private to gc_adapterJan Beich3-3/+7
2020-07-12udp: Silence a C++20 deprecation warningLioncash1-1/+1
2020-07-12gc_poller: Mark GCButtonFactory::GetNextInput() as constLioncash2-2/+2
2020-07-12gc_poller: Get rid of undefined behavior in Create()Lioncash1-0/+4
2020-07-12gc_poller: Silence sign conversion warningsLioncash1-1/+1
2020-07-12gc_adapter: Remove deprecated usage of = in lambda capturesLioncash1-1/+1
2020-07-12gc_adapter: Silence sign conversion warningsLioncash2-7/+7
2020-07-10Break out of scan loop if can't find adapter on first runAmeer1-0/+3
2020-07-09cmake: pass libusb include directory as wellJan Beich1-0/+1
2020-07-08Address comments for better clarity/signed dev countAmeer1-11/+15
2020-07-08Add more libusb error checksAmeer1-3/+18
2020-07-07Address PR feedback, fix axis button thresholdingAmeer3-58/+22
2020-07-07input_common/gcadapter: add missing C++11 header required by libc++Jan Beich1-0/+1
2020-07-07Brace the code! Fix compile error due to class member construction orderAmeer2-15/+31
2020-07-07Recalibrate reconnected controllersAmeer1-0/+5
2020-07-07Save origin state of GC controller analog features, compare against origin for input detectionAmeer3-28/+72
2020-07-04Fix for always firing triggers on some controllers, trigger threshold more universalAmeer2-5/+5
2020-07-03Address lioncash feedback: Log formatting, extern const PadButtonArray, little touch upsAmeer3-24/+32
2020-07-02Fix unnecessary diffsAmeer3-3/+3
2020-07-02Add LR triggers as axes, half press to initiate a press, add GC axis id in config, clarify some code blocks for better readabilityAmeer2-10/+34
2020-07-01Reset adapter state on init, fixes errors relating driver hang from unexpected unplugAmeer2-0/+9
2020-06-30Address feedback regarding increments, const vars, and general cleanupAmeer2-24/+21
2020-06-30fix implicit conversion of size_t type to intAmeer1-1/+1
2020-06-27left const auto&, comment punctuation.Ameer J1-2/+2
2020-06-26const& to button in button arrayAmeer J1-2/+2
2020-06-26Stop reading loop if error is encounteredAmeer1-4/+4
2020-06-24padbutton enum class and struct initiailizationAmeer3-36/+32
2020-06-23cleanup check access, read, and factory GetNextInput funcs. Use size rather than magic numberAmeer4-151/+101
2020-06-23Fix deallocation of GC AdapterAmeer3-4/+10
2020-06-23std::array and const reference passing of non-trivial objectsAmeer2-14/+13
2020-06-22Update src/input_common/main.cppameerj1-1/+1
2020-06-22Tidy up the pointers, use pair over tuple where appropriateAmeer4-24/+22
2020-06-22fix for sleep using stlAmeer1-1/+3
2020-06-22shared_ptr for the GC adapter class, constexpr constantsAmeer5-66/+52
2020-06-22std::arrays where appropriate, clear q in adapter class, other touch upsAmeer5-27/+15
2020-06-22fix include threadAmeer1-0/+1
2020-06-22Singleton GC Adapter class, remove globals, fix naming conventionAmeer7-202/+259
2020-06-21Clang FormattingAmeer6-77/+99
2020-06-21Cleanup after linterAmeer9-167/+98
2020-06-21GC Adapter ImplementationAmeer15-100/+1039
2020-06-19input_common/motion_emu: Remove redundant moveMerryMage1-1/+1
2020-06-19input_common/keyboard: Remove redundant moveMerryMage1-1/+1
2020-05-02input_common: fix build when SDL2 is disabledFearlessTobi1-0/+6
2020-04-16input_common: Use the CMake target instead of the variable.Markus Wick1-1/+1
2020-04-16CMakeLists: Specify -Wextra on linux buildsLioncash1-0/+1
2020-03-18input_common/udp: Fix clang build issuesReinUsesLisp1-1/+2
2020-03-17input_common/udp: Fix Linux build by using a backwards compatible way of error checkingFearlessTobi1-1/+1
2020-03-04input/udp - Add minor error handling to prevent bad input from crashingJames Rowe1-4/+13
2020-03-04input/udp - Dont log on invalid packet receivedJames Rowe1-1/+0
2020-02-18analog_from_button get direction implementationCJBok1-0/+14
2020-02-03input_common/udp: Ensure that UDP is shut down within Shutdown()Lioncash1-0/+1
2020-02-03input_common/udp: Add missing override specifiersLioncash1-2/+2
2020-02-03input_common/udp: std::move SocketCallback instances where applicableLioncash1-2/+2
2020-02-03input_common/udp: std::move shared_ptr within Client constructorLioncash1-1/+1
2020-02-03udp/client: Replace deprecated from_string() call with make_address_v4()Lioncash1-2/+2
2020-02-03input_common/udp: Silence -Wreorder warning for SocketLioncash1-4/+3
2020-02-03input_common/udp: Remove unnecessary inclusionsLioncash4-8/+4
2020-02-03input_common/udp: Add missing header guardLioncash1-0/+2
2020-01-23Address second part of review commentsFearlessTobi3-13/+17
2020-01-23Address review commentsFearlessTobi4-65/+72
2020-01-23Input: UDP Client to provide motion and touch controlsfearlessTobi8-4/+846
2020-01-15Moved analog direction logic to sdl_implCJBok1-0/+16
2019-06-03input_common/sdl/sdl_impl: Correct logging string in SDLState constructorLioncash1-1/+1
2019-06-03input_common/sdl/sdl_impl: Move documentation comments to header where applicableLioncash2-7/+6
2019-06-03input_common/sdl/sdl_impl: Amend names for axes for SDLAnalogPollerLioncash1-13/+13
2019-06-03input_common/sdl/sdl_impl: Mark variables const where applicableLioncash1-10/+11
2019-06-03input_common/sdl/sdl_impl: Mark SDLEventToButtonParamPackage() as staticLioncash1-1/+1
2019-06-03input_common/sdl/sdl_impl: Convert reinterpret_cast into a static_castLioncash1-2/+4
2019-06-03input_common/sdl/sdl_impl: Use insert_or_assign() where applicableLioncash1-3/+3
2019-06-03input_common/sdl/sdl_impl: Simplify SDL_Joystick deleter handlingLioncash1-15/+14
2019-06-03input_common/sdl/sdl_impl: Resolve two sign conversion warningsLioncash1-10/+16
2019-06-03input_common/sdl: Remove unused header includes and forward declarationsLioncash3-11/+5
2019-06-03input_common/sdl/sdl_impl: Use nested namespace specifiers where applicableLioncash1-5/+2
2019-05-31input_common/sdl/sdl_impl: Silence sign conversion warningsLioncash1-3/+3
2019-04-01general: Use deducation guides for std::lock_guard and std::unique_lockLioncash3-21/+23
2019-03-18input_common/sdl: Correct return values within implementations of GetPollers()Lioncash2-2/+6
2019-03-18input_common/sdl: Use a type alias to shorten declaration of GetPollersLioncash3-11/+9
2019-03-17input_common/sdl_impl: Make lambda capture more specific in SDLState constructorLioncash1-1/+1
2019-03-17input_common/sdl_impl: Remove unnecessary std::chrono::duration constructionLioncash1-1/+1
2019-03-17input_common/sdl_impl: Remove unused variable in SDLState constructorLioncash1-1/+0
2019-03-02fixup! Joystick: Allow for background events; Add deadzone to SDLAnalogB3n301-6/+17
2019-03-02input/sdl: lock map mutex after SDL callWeiyi Wang1-11/+17
2019-03-02Input: Remove global variables from SDL InputJames Rowe7-800/+201
2019-03-02Input: Copy current SDL.h/cpp files to implJames Rowe2-0/+680
2019-02-27common/math_util: Move contents into the Common namespaceLioncash1-2/+2
2019-02-27common/vector_math: Move Vec[x] types into the Common namespaceLioncash1-11/+11
2019-02-27common/quaternion: Move Quaternion into the Common namespaceLioncash1-4/+4
2018-09-11Port #4141 from citra: Joystick hotplug support (#1275)Tobias4-88/+322
2018-08-03input_common: Use std::move where applicableLioncash2-5/+6
2018-08-03input_common: Add missing override specifiersLioncash3-14/+2
2018-07-03Rename logging macro back to LOG_*James Rowe1-3/+3
2018-04-27input_common: Move old logging macros over to fmt-capable onesLioncash1-3/+3
2018-04-20math_util: Remove the Clamp() functionLioncash1-2/+3
2018-01-21Format: Run the new clang format on everythingJames Rowe1-1/+2
2018-01-18CMakeLists: Derive the source directory grouping from targets themselvesLioncash1-19/+12
2018-01-18input_common/sdl: Silence a -Wpessimizing-move warningLioncash1-1/+1
2018-01-16Adding meumart's Citra SDL Joystick support. Citra PR #3116muemart4-1/+248
2017-08-22motion_emu: fix initialization orderwwylele1-1/+4
2017-08-19motion_emu: no need to include thread in headerwwylele2-2/+7
2017-08-13Fix Spelling/English mistakesDave Leaver1-1/+1
2017-08-11move MotionEmu from core/frontend to input_common as a InputDevicewwylele5-2/+226
2017-08-11Fix some spelling mistakesdanzel1-1/+1
2017-05-28CMake: Define an interface target for SDL2 definitionsYuri Kunde Schlesner1-2/+1
2017-05-28CMake: Correct inter-module dependencies and library visibilityYuri Kunde Schlesner1-3/+3
2017-04-17input_common/sdl: add support for binding button to axiswwylele1-4/+53
2017-03-17citra-qt: release all buttons when render window focus is lostwwylele2-0/+13
2017-03-01InputCommon: add SDL joystick supportwwylele4-0/+241
2017-03-01InputCommon: add AnalogFromButtonwwylele5-0/+113
2017-03-01InputCommon: add Keyboardwwylele5-0/+202