summaryrefslogtreecommitdiff
path: root/src/input_common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* UI: Relocate tas menu and add brief descriptionGravatar german772021-09-183-55/+83
|
* input_common/tas: Document the main classGravatar german772021-09-183-3/+112
|
* input_common/tas: Add swap controllerGravatar german772021-09-183-18/+74
|
* input_common/tas: overwrite file dialogGravatar german772021-09-182-19/+6
|
* input_common/tas: Fallback to simple updateGravatar MonsterDruide12021-09-182-73/+33
|
* config: Move TAS options to it's own menuGravatar german772021-09-183-91/+130
|
* core: Hacky TAS syncing & load pausingGravatar MonsterDruide12021-09-182-93/+107
| | | | | | | | To keep the TAS inputs synced to the game speed even through lag spikes and loading zones, deeper access is required. First, the `TAS::UpdateThread` has to be executed exactly once per frame. This is done by connecting it to the service method the game calls to pass parameters to the GPU: `Service::VI::QueueBuffer`. Second, the loading time of new subareas and/or kingdoms (SMO) can vary. To counteract that, the `CPU_BOOST_MODE` can be detected: In the `APM`-interface, the call to enabling/disabling the boost mode can be caught and forwarded to the TASing system, which can pause the script execution if neccessary and enabled in the settings.
* input_common/tas: Base playback & recording systemGravatar MonsterDruide12021-09-187-0/+722
| | | | | | | | | The base playback system supports up to 8 controllers (specified by `PLAYER_NUMBER` in `tas_input.h`), which all change their inputs simulataneously when `TAS::UpdateThread` is called. The recording system uses the controller debugger to read the state of the first controller and forwards that data to the TASing system for recording. Currently, this process sadly is not frame-perfect and pixel-accurate. Co-authored-by: Naii-the-Baf <sfabian200@gmail.com> Co-authored-by: Narr-the-Reg <juangerman-13@hotmail.com>
* input_common: Enable steam controllers and 8 player supportGravatar german772021-09-102-7/+7
|
* 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.