Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2023-02-10 | core: hid: Use gyro thresholds modes set by the game | Narr the Reg | 2 | -12/+9 | |
2023-02-08 | service: hid: Return error if arguments of SetSupportedNpadIdType is invalid | Narr the Reg | 2 | -3/+11 | |
2023-02-03 | Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span" | ameerj | 2 | -3/+5 | |
This reverts commit 25fc5c0e1158cb8e81cbc769b24ad84032a1fbfd, reversing changes made to af20e25081f97d55b451606c87922e2b49f0d363. | |||||
2023-02-02 | Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer" | liamwhite | 2 | -5/+3 | |
2023-02-01 | input_common: Implement turbo buttons | german77 | 1 | -0/+3 | |
2023-01-20 | core: hid: Only set the polling mode to the correct side | Narr the Reg | 1 | -1/+13 | |
2023-01-20 | core: hid: Fix input regressions | Narr the Reg | 1 | -0/+1 | |
2023-01-20 | service: hid: Set led pattern and fix color detection | Narr the Reg | 1 | -0/+5 | |
2022-12-29 | hidbus: Use ReadBufferSpan | ameerj | 2 | -3/+5 | |
2022-12-25 | service: Use ReadBufferSpan where it is trivial to do so | ameerj | 2 | -2/+2 | |
2022-10-22 | general: Enforce C4800 everywhere except in video_core | Morph | 1 | -10/+10 | |
2022-10-21 | input_common: cache vibration tests | german77 | 1 | -2/+2 | |
2022-10-21 | hid/npad: Fix copy size in GetSupportedNpadIdTypes | Lioncash | 1 | -2/+3 | |
Previously this was passing the size of the vector into memcpy rather than the size in bytes to copy, which would result in a partial read. Thankfully, this function isn't used yet, so this gets rid of a bug before it's able to do anything. | |||||
2022-10-13 | kernel: remove KWritableEvent | Liam | 2 | -11/+10 | |
2022-09-25 | service: hid: Partially implement palma controller | Narr the Reg | 3 | -1/+397 | |
2022-08-08 | hid: core: Properly emulate controller color and battery level | Narr the Reg | 1 | -15/+62 | |
2022-06-29 | input_common: sdl: lower vibration frequency and use it's own unique thread | german77 | 1 | -2/+2 | |
2022-06-29 | service: hid: Correct some mistakes and add more validations | Narr the Reg | 2 | -9/+28 | |
2022-06-27 | core: Replace all instances of ResultCode with Result | german77 | 2 | -65/+64 | |
2022-06-14 | common: Change semantics of UNREACHABLE to unconditionally crash | Liam | 1 | -4/+4 | |
2022-06-10 | service: hid: Fix gesture regression | Narr the Reg | 2 | -4/+3 | |
2022-05-27 | service: hid: Implement ResetIsSixAxisSensorDeviceNewlyAssigned | german77 | 2 | -5/+88 | |
Needed by Nintendo Switch Sports | |||||
2022-05-27 | service: hid: Implement LoadSixAxisSensorCalibrationParameter and GetSixAxisSensorIcInformation | german77 | 2 | -1/+39 | |
Needed by Nintendo Switch Sports | |||||
2022-05-27 | service: hid: Implement EnableSixAxisSensorUnalteredPassthrough and IsSixAxisSensorUnalteredPassthroughEnabled | german77 | 2 | -0/+31 | |
Needed by Nintendo Switch Sports | |||||
2022-05-27 | service: hid: Add error handling to sixaxis functions | german77 | 2 | -31/+54 | |
2022-05-27 | service: hid: Refractor sixaxis functions | german77 | 2 | -185/+88 | |
2022-05-27 | service: hid: Implement MergeSingleJoyAsDualJoy according to RE | german77 | 2 | -62/+52 | |
2022-05-27 | service: hid: Add error handling to setNpadAssignment and variants | german77 | 2 | -12/+14 | |
2022-05-27 | service: hid: Quick RE fixes and comments | german77 | 2 | -26/+37 | |
2022-05-23 | input_common: touch: Rewrite touch driver to support multiple touch points | german77 | 1 | -1/+5 | |
2022-05-06 | service: hid: Fix motion refresh rate | Narr the Reg | 1 | -0/+5 | |
2022-05-06 | service: hid: Disable correctly motion input | german77 | 1 | -50/+41 | |
2022-04-24 | service: hid: Ensure all structs are initialized | Narr the Reg | 15 | -68/+69 | |
2022-04-23 | service: hid: Access shared memory directly | Narr the Reg | 19 | -278/+324 | |
2022-04-23 | general: Convert source file copyright comments over to SPDX | Morph | 20 | -60/+40 | |
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later. | |||||
2022-04-18 | service: hid: Improve accuracy of sixaxis functions | Narr the Reg | 2 | -59/+264 | |
2022-04-07 | core/hle: Replace lock_guard with scoped_lock | Merry | 1 | -1/+1 | |
2022-04-03 | service: npad: Default initialize shared memory | german77 | 1 | -48/+48 | |
2022-03-31 | service: hid: Remove inaccurate behavior on initialization | german77 | 2 | -14/+21 | |
2022-03-19 | core: Reduce unused includes | ameerj | 10 | -20/+2 | |
2021-12-16 | core/hid: Cancel any vibration after the test | Narr the Reg | 2 | -10/+4 | |
2021-12-13 | service/hid: Improve console motion accuracy | Narr the Reg | 2 | -14/+16 | |
2021-12-05 | service/hid: Implement SetNpadJoyAssignmentMode | german77 | 2 | -25/+148 | |
2021-12-05 | core/hid: Ensure only valid npad are connected | german77 | 1 | -17/+13 | |
2021-11-30 | npad: Return NpadButton in GetAndResetPressState | Morph | 2 | -5/+5 | |
We were previously truncating this to a u32 as there were no known buttons that used the full 64 bits of this type. Fix this now that we know they are used. | |||||
2021-11-29 | general: Fix handheld typo | Morph | 1 | -1/+1 | |
2021-11-28 | settings: Add debug setting to enable all controllers | german77 | 1 | -0/+4 | |
2021-11-25 | service/hid: Finish converting LIFO objects and address some nits | Narr the Reg | 11 | -89/+45 | |
2021-11-25 | kraken: Address comments from review | german77 | 1 | -1/+1 | |
Fix compiler bug | |||||
2021-11-25 | core/hid: Improve accuary of mouse implementation | german77 | 4 | -5/+8 | |
2021-11-25 | core/hid: Fully implement native mouse | german77 | 1 | -4/+5 | |
2021-11-25 | core/hid: Improve accuracy of the keyboard implementation | german77 | 1 | -0/+1 | |
2021-11-25 | core/hid: Fix keyboard alignment | german77 | 1 | -0/+1 | |
2021-11-25 | core/hid: Remove usage of native types, fix a couple of errors with motion | german77 | 2 | -280/+379 | |
2021-11-25 | service/hid: Remove includes of core.h and settings.h | german77 | 20 | -49/+53 | |
2021-11-25 | service/hid: Add support for new controllers | german77 | 1 | -1/+30 | |
2021-11-25 | core/hid: Rename NpadType to NpadStyleIndex | german77 | 2 | -68/+72 | |
2021-11-25 | second commit lion review | german77 | 8 | -5/+13 | |
2021-11-25 | kraken: Address comments from review | german77 | 3 | -6/+1 | |
start lion review | |||||
2021-11-25 | core/hid: Update structs to 13.1.0 | german77 | 8 | -29/+76 | |
2021-11-25 | core/hid: Rework battery mappings | german77 | 1 | -2/+9 | |
2021-11-25 | service/hid: Fix memory allocated incorrectly | german77 | 5 | -7/+7 | |
2021-11-25 | Morph review first wave | german77 | 11 | -69/+51 | |
2021-11-25 | service/hid: Match shared memory closer to HW | german77 | 2 | -26/+75 | |
2021-11-25 | kraken: Address comments from review | german77 | 2 | -6/+6 | |
review fixes | |||||
2021-11-25 | service/hid: Use ring buffer for gestures | german77 | 2 | -79/+52 | |
2021-11-25 | service/hid: Fix gesture input | german77 | 2 | -61/+92 | |
2021-11-25 | core/hid: Only signal when needed | german77 | 1 | -2/+4 | |
2021-11-25 | hid: Fix controller connection/disconnection | german77 | 3 | -26/+56 | |
2021-11-25 | core/hid: Add output devices | german77 | 2 | -40/+5 | |
2021-11-25 | service/hid: Rewrite npad to use ring lifo and the emulated controller | german77 | 2 | -890/+605 | |
2021-11-25 | service/hid: Update console sixaxis to the emulated console | german77 | 2 | -28/+26 | |
2021-11-25 | service/hid: Update mouse and keyboard to use ring lifo and the emulated device | german77 | 4 | -158/+71 | |
2021-11-25 | service/hid: Update touch and gestures to use ring lifo and the emulated console | german77 | 4 | -370/+191 | |
2021-11-25 | service/hid: Update debug pad, xpad, stubbed and controller base to use ring lifo and the emulated controller | german77 | 7 | -166/+80 | |
2021-11-25 | settings: Cleanup settings | german77 | 3 | -3/+3 | |
2021-11-04 | core: Remove unused includes | ameerj | 1 | -1/+0 | |
2021-09-27 | service/hid: Update to 13.0.0 | german77 | 1 | -0/+1 | |
2021-09-10 | hid: Stub SetTouchScreenConfiguration | german77 | 1 | -0/+14 | |
2021-07-21 | hle: service: hid: npad: Remove unused kernel reference. | bunnei | 1 | -1/+0 | |
2021-07-21 | hle: service: Add a helper module for managing kernel objects. | bunnei | 2 | -6/+14 | |
2021-07-11 | npad: Disable vibration check if disabled | german77 | 1 | -0/+5 | |
2021-06-22 | npad: Fix data race when updating devices | Rodrigo Locatti | 2 | -0/+8 | |
Add a lock to avoid data races. This reduces the number of -fsanitize=thread errors significantly. | |||||
2021-05-28 | touchscreen: Make use of common point struct | Lioncash | 2 | -10/+10 | |
2021-05-28 | common: Extract point into a common struct | Lioncash | 1 | -29/+7 | |
This is generic enough that it can be moved into the Common class for reuse. | |||||
2021-05-18 | hid/gesture: Factor out last gesture retrieval into its own function | Lioncash | 2 | -14/+23 | |
Deduplicates a commonly repeated expression. | |||||
2021-05-18 | hid/gesture: Ensure all ID arrays are initialized | Lioncash | 1 | -4/+4 | |
Makes for deterministic initial state. | |||||
2021-05-18 | hid/gesture: Make Point a template | Lioncash | 2 | -38/+46 | |
We can now use this in a generic context to reuse it with the finger position. | |||||
2021-05-18 | hid/gesture: Replace x,y members of GestureState with a Point | Lioncash | 2 | -6/+4 | |
Simplifies assignments. | |||||
2021-05-18 | hid/gesture: Add default comparators to Point | Lioncash | 2 | -10/+7 | |
Simplifies some comparisons. | |||||
2021-05-18 | hid/gesture: Rename Points to Point | Lioncash | 1 | -5/+5 | |
This only represents a single point | |||||
2021-05-16 | core: Make variable shadowing a compile-time error | Lioncash | 4 | -34/+41 | |
Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely. | |||||
2021-05-06 | hle: kernel: Remove deprecated Object class. | bunnei | 1 | -1/+0 | |
2021-05-06 | hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject. | bunnei | 2 | -6/+5 | |
2021-05-06 | hle: kernel: Refactor several threads/events/sharedmemory to use slab heaps. | bunnei | 2 | -4/+9 | |
2021-05-06 | hle: kernel: Ensure all kernel objects with KAutoObject are properly created. | bunnei | 1 | -0/+1 | |
2021-05-06 | hle: kernel: Migrate KEvent to KAutoObject. | bunnei | 2 | -4/+3 | |
2021-05-06 | hle: kernel: Refactor IPC interfaces to not use std::shared_ptr. | bunnei | 2 | -3/+2 | |
2021-05-05 | hid: Improve hardware accuracy of gestures | german77 | 2 | -76/+340 | |
2021-05-04 | service: Resolve cases of member field shadowing | Lioncash | 18 | -19/+19 | |
Now all that remains is for kernel code to be 'shadow-free' and then -Wshadow can be turned into an error. | |||||
2021-05-03 | hid: Fix touch not initializing properly if disabled | german77 | 2 | -2/+10 | |
2021-05-01 | Disable touch if setting is not enabled | german77 | 2 | -2/+2 | |
2021-04-27 | address comments | german77 | 2 | -5/+5 | |
2021-04-24 | hid: Implement SevenSixAxis and ConsoleSixAxisSensor | german77 | 4 | -2/+174 | |
2021-04-19 | npad: Remove duplicated class member variable | Lioncash | 2 | -2/+1 | |
ControllerBase already has a System reference that can be accessed from this class, so we can get rid of this to make the class layout a little more straightforward. | |||||
2021-04-15 | common: Move settings to common from core. | bunnei | 9 | -9/+9 | |
- Removes a dependency on core and input_common from common. | |||||
2021-04-08 | service: hid: Stub SetAnalogStickUseCenterClamp | Morph | 2 | -0/+6 | |
- Used by eBASEBALLパワフルプロ野球2020 | |||||
2021-04-02 | HID: Fix SL and SR buttons for right joycon | german77 | 1 | -2/+6 | |
2021-03-26 | HID: Initialize correctly the gesture finger_id and filter invalid results | Narr the Reg | 2 | -3/+13 | |
2021-02-28 | Implements touch, pan, pinch and rotation gestures | german | 2 | -11/+240 | |
2021-02-08 | hid: Implement GC controller | german | 2 | -1/+88 | |
2021-02-05 | hle: kernel: Reimplement KReadableEvent and KWritableEvent. | bunnei | 2 | -7/+13 | |
2021-02-05 | hle: kernel: Rename WritableEvent to KWritableEvent. | bunnei | 2 | -3/+3 | |
2021-02-05 | hle: kernel: Rename ReadableEvent to KReadableEvent. | bunnei | 2 | -3/+4 | |
2021-02-04 | Add footer types and address comments | german | 7 | -58/+106 | |
2021-02-04 | Fix npad struct to match switchbrew | german | 2 | -104/+133 | |
2021-02-04 | Adds missing controller types and properties | german | 7 | -19/+172 | |
2021-01-27 | npad: Remove unused device handle parameter | Morph | 2 | -7/+6 | |
2021-01-24 | Stub Set/Get/Reset SixaxisSensorFusionParameters | german | 2 | -0/+23 | |
2021-01-18 | npad: Add check for HANDHELD_INDEX in UpdateControllerAt() | Morph | 1 | -1/+1 | |
2021-01-15 | core: Silence Wclass-memaccess warnings | ReinUsesLisp | 2 | -10/+19 | |
This requires making several types trivial and properly initialize them whenever they are called. | |||||
2021-01-15 | Always initialize keyboard input | german | 1 | -5/+1 | |
2021-01-15 | Add mutitouch support for touch screens | german | 2 | -19/+25 | |
2021-01-15 | Allow to return up to 16 touch inputs per engine | german | 2 | -55/+75 | |
2021-01-15 | Allow all touch inputs at the same time and remove config options that are not longer necesary | german | 2 | -11/+20 | |
2021-01-15 | Add multitouch support | german | 2 | -23/+93 | |
2020-12-18 | controllers/npad: Make press_state atomic | Morph | 2 | -2/+3 | |
2020-12-12 | controllers/npad: Validate device handles before use | Morph | 2 | -0/+45 | |
Some games such as NEKOPARA Vol. 3 send invalid device handles when calling InitializeVibrationDevice. Introduce a check to validate the device handle before use. | |||||
2020-11-29 | Add missing types to NpadCommunicationMode | german | 1 | -0/+2 | |
2020-11-27 | Stub set and get NpadCommunicationMode | german | 2 | -0/+18 | |
2020-11-16 | hid: Reimplement Begin/EndPermitVibrationSession | Morph | 2 | -2/+9 | |
Upon further investigation, these commands allow temporary vibrations even when the "Controller Vibration" system setting is disabled. As a result, vibrations are allowed when either the system setting or this flag is set to true. Therefore, we can only block vibrations when both flags are set to false. | |||||
2020-11-16 | controllers/npad: Load input devices on init | Morph | 1 | -0/+2 | |
2020-11-16 | general: Fix compiler warnings on linux and miscellaneous changes | Morph | 2 | -8/+11 | |
2020-11-16 | controllers/npad: Remove the old vibration filter | Morph | 2 | -49/+63 | |
Previously we used a vibration filter that filters out amplitudes close to each other. It turns out there are cases where this results into vibrations that are too inaccurate. Remove this and move the 100Hz vibration filter (Only allowing a maximum of 100 vibrations per second) from sdl_impl to npad when enable_accurate_vibrations is set to false. | |||||
2020-11-16 | hid: Implement InitializeVibrationDevice and IsVibrationDeviceMounted | Morph | 2 | -1/+48 | |
2020-11-16 | input_common: Add VibrationDevice and VibrationDeviceFactory | Morph | 2 | -33/+26 | |
A vibration device is an input device that returns an unsigned byte as status. It represents whether the vibration device supports vibration or not. If the status returns 1, it supports vibration. Otherwise, it does not support vibration. | |||||
2020-11-16 | configure_input: Add per-player vibration | Morph | 1 | -2/+11 | |
Allows for enabling and modifying vibration and vibration strength per player. Also adds a toggle for enabling/disabling accurate vibrations. Co-authored-by: Its-Rei <kupfel@gmail.com> | |||||
2020-11-16 | settings: Remove global vibration strength modifier | Morph | 1 | -3/+1 | |
This will be replaced in favor of per-player vibration strength modifiers. | |||||
2020-11-16 | hid: Mark Begin/EndPermitVibrationSession as stubs | Morph | 2 | -12/+1 | |
The implementation of these commands seem incomplete and causes rumble in Super Mario Party to stop working since only EndPermitVibrationSession is called. Thus, these are better off being marked as a stub until this can be investigated more thoroughly. | |||||
2020-11-16 | controllers/npad: Send an empty vibration on destruction/deactivation | Morph | 2 | -20/+36 | |
This stops all controllers from continuously vibrating when emulation is stopped. | |||||
2020-11-16 | controllers/npad: Add heuristics to reduce rumble state changes | Morph | 1 | -5/+46 | |
Sending too many state changes in a short period of time can cause massive performance issues. As a result, we have to use several heuristics to reduce the number of state changes to minimize/eliminate this performance impact while maintaining the quality of these vibrations as much as possible. | |||||
2020-11-16 | configure_input: Hook up the vibration percentage spinbox | Morph | 1 | -1/+2 | |
This allows setting the vibration strength percentage anywhere from 1% to 100%. Also hooks up the remaining motion button and checkbox in the Controller Applet. | |||||
2020-11-16 | controllers/npad: Stop games from vibrating incorrect controllers | Morph | 1 | -0/+10 | |
Fixes vibration in 1-2 Switch and potentially other games where they would vibrate both players' joycons at the same time. | |||||
2020-11-16 | hid: Fix controller rumble based on new research | Morph | 2 | -24/+33 | |
This fixes the issue where rumble is only sent to the first controller. Now, individual controllers can receive their own rumble commands. | |||||
2020-11-16 | hid: Reorder all HID commands | Morph | 2 | -24/+24 | |
Reorders all HID commands in command id order. | |||||
2020-11-16 | controllers/npad: Rename NPadType to NpadStyleSet | Morph | 2 | -8/+8 | |
This more accurately represents the underlying type and avoids confusion with NpadType | |||||
2020-11-16 | controllers/npad: Add DeviceHandle struct | Morph | 1 | -27/+50 | |
A DeviceHandle describes a vibration device or six-axis sensor based on the npad type, npad id, and device index/position | |||||
2020-11-16 | settings: Preparation for per-game input settings | Morph | 1 | -18/+24 | |
2020-11-16 | controllers/npad: Connect a controller on init if none are connected | Morph | 1 | -0/+13 | |
2020-10-21 | Revert "core: Fix clang build" | bunnei | 9 | -80/+52 | |
2020-10-18 | core: Fix clang build | Lioncash | 9 | -52/+80 | |
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795 | |||||
2020-10-13 | core/CMakeLists: Make some warnings errors | Lioncash | 2 | -27/+2 | |
Makes our error coverage a little more consistent across the board by applying it to Linux side of things as well. This also makes it more consistent with the warning settings in other libraries in the project. This also updates httplib to 0.7.9, as there are several warning cleanups made that allow us to enable several warnings as errors. | |||||
2020-10-02 | Only use inputs corresponding to controller type | german | 1 | -49/+58 | |
2020-09-30 | hid: Stub HomeButtonInputProtection service commands | Morph | 2 | -0/+12 | |
- Used in 1-2 Switch. Given that we do not emulate the functionality of the home button yet, we can stub this for now. | |||||
2020-09-29 | First implementation of controller rumble | german | 2 | -8/+19 | |
2020-09-24 | Use different timing for motion | german | 3 | -73/+137 | |
2020-09-18 | hid: Implement Get/SetNpadHandheldActivationMode | Morph | 2 | -0/+18 | |
- Used in Clubhouse Games: 51 Worldwide Classics | |||||
2020-09-05 | configure_input: Hook up the motion button and checkbox | Morph | 1 | -1/+1 | |
This allows toggling motion on or off, and allows access to the motion configuration. Also changes the [waiting] text for motion buttons to Shake! as this is how motion is connected to a player. | |||||
2020-09-05 | Add cemu hook changes related to PR #4609 | german | 1 | -2/+1 | |
2020-09-05 | Remove RealMotionDevice | german | 2 | -7/+8 | |
2020-09-05 | controllers/npad: Simplify motion entry assignment | Morph | 1 | -29/+18 | |
Simplifies the motion assignment in the Dual Joycon entry and assigns index 1 of the motion entry (Motion 2) for the right joycon. | |||||
2020-09-05 | Include HID and configuration changes related to motion | german | 2 | -9/+162 | |
2020-09-04 | hid: Implement MergeSingleJoyasDualJoy | Morph | 2 | -0/+17 | |
- Used in multiple games such as Super Mario Odyssey. | |||||
2020-09-04 | applets/controller: Implement fallback applet for the SDL frontend | Morph | 2 | -89/+0 | |
Implement the fallback applet for the SDL frontend, connecting only the minimum amount of players required. | |||||
2020-09-04 | Project Mjölnir: Part 2 - Controller Applet | Morph | 2 | -11/+23 | |
Co-authored-by: Its-Rei <kupfel@gmail.com> | |||||
2020-08-29 | yuzu: Add motion and touch configuration | FearlessTobi | 2 | -1/+12 | |
2020-08-26 | controllers/npad: Fix inconsistencies with controller connection statuses | Morph | 1 | -1/+7 | |
2020-08-26 | controllers/npad: Fix LibNX controller connection statuses | Morph | 1 | -1/+9 | |
This allows homebrew applications to be able to properly detect connected controllers. | |||||
2020-08-26 | controllers/npad: Fix LedPattern for P1-4 | Morph | 1 | -3/+3 | |
2020-08-26 | Project Mjölnir: Part 1 | Morph | 2 | -118/+106 | |
Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com> | |||||
2020-08-14 | core: Resolve several -Wextra-semi warnings | Lioncash | 1 | -2/+2 | |
We can amend one of the cascade macros to require semicolons in order to compile. In other cases, we can just remove the superfluous semicolons. | |||||
2020-07-16 | hid: Only update keyboard & debug pad inputs if enabled | David Marcec | 2 | -33/+37 | |
Previously we would ignore this setting and would update the states regardless of the user setting | |||||
2020-06-27 | General: Recover Prometheus project from harddrive failure | Fernando Sahmkow | 8 | -9/+9 | |
This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host Timing, Reworks the Kernel's Scheduler, Introduce Idle State and Suspended State, Recreates the bootmanager, Initializes Multicore system. | |||||
2020-06-21 | hid: Implement Get/ResetGyroscopeZeroDriftMode | Morph | 2 | -1/+17 | |
- Used by Captain Toad Treasure Tracker | |||||
2020-06-21 | Clang Formatting | Ameer | 1 | -26/+16 | |
2020-06-21 | GC Adapter Implementation | Ameer | 1 | -16/+26 | |
2020-05-12 | hid: Clear keyboard states & fix logic issue | David Marcec | 1 | -3/+4 | |
Previously we never cleared the states of the entries and the key would stay held down, also looping over the key bytes for each key lead to setting every bit for the key state instead of the key we wanted | |||||
2020-04-20 | npad: Lower log level for VibrateController to Debug | FearlessTobi | 1 | -1/+1 | |
2020-04-18 | service: hid: npad: Fix implicit fallthrough errors. | bunnei | 1 | -0/+2 | |
2020-02-18 | analog_from_button get direction implementation | CJBok | 1 | -5/+5 | |
2020-01-15 | Moved analog direction logic to sdl_impl | CJBok | 1 | -9/+22 | |
2020-01-14 | Corrected directional states sensitivity | CJBok | 1 | -9/+9 | |
2020-01-09 | hid: Fix analog sticks directional states | CJBok | 1 | -12/+12 | |
2019-11-25 | kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154) | bunnei | 2 | -3/+2 | |
* kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. - See https://github.com/citra-emu/citra/pull/4710 for details. | |||||
2019-11-03 | kernel: events: Remove ResetType::Automatic. | bunnei | 1 | -1/+1 | |
- This does not actually seem to exist in the real kernel - games reset these automatically. # Conflicts: # src/core/hle/service/am/applets/applets.cpp # src/core/hle/service/filesystem/fsp_srv.cpp | |||||
2019-10-18 | hid/npad: Fix incorrect connection boolean value in ConnectAllDisconnectedControllers() | Lioncash | 1 | -1/+1 | |
We should be setting the connection state to true, otherwise we aren't actually making the controllers connected like the function name indicates. | |||||
2019-10-18 | hid/npad: Add missing break in default case | Lioncash | 1 | -0/+1 | |
While not an issue, it does prevent fallthrough from occurring if anything is ever added after this case (unlikely to occur, but this turns a trivial "should not cause issues" into a definite "won't cause issues). | |||||
2019-10-18 | hid/npad: Replace std::for_each with ranged for loops | Lioncash | 1 | -13/+12 | |
Performs the same behavior, but is built into the core language itself. No functional change. | |||||
2019-10-18 | hid/npad: Remove redundant non-const variant of IsControllerSupported() | Lioncash | 2 | -34/+5 | |
The const qualified variant can also be called in non-const contexts, so we can remove the non-const variant to eliminate a bit of code duplication. | |||||
2019-10-18 | hid/npad: Move function declarations | Lioncash | 1 | -5/+6 | |
Clearly separate these from the variable declarations to make them more visible. | |||||
2019-10-05 | service/hid: Silence -Wunused and -Wswitch | ReinUsesLisp | 14 | -21/+14 | |
2019-10-05 | service/hid: Remove unused system reference | ReinUsesLisp | 2 | -2/+1 | |
2019-09-24 | Signal styleset changes at a better time | David Marcec | 1 | -8/+2 | |
We should signal when a net controller is added and our event should be manual, not automatic. | |||||
2019-09-22 | removed comment | David Marcec | 1 | -1/+0 | |
2019-09-22 | Rebased | David Marcec | 2 | -10/+18 | |
2019-09-22 | removed unneeded semicolon | David Marcec | 1 | -1/+1 | |
2019-09-22 | marked controller constructors as explicit | David Marcec | 8 | -8/+8 | |
2019-09-22 | Rebase | David Marcec | 18 | -38/+53 | |
2019-09-22 | Deglobalize System: Hid | David Marcec | 18 | -21/+25 | |
2019-09-04 | ditto | Morph1984 | 1 | -1/+1 | |
Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com> | |||||
2019-09-04 | IsVibrationEnabled() as a const member func | Morph1984 | 1 | -1/+1 | |
2019-09-04 | Update npad.h | Morph1984 | 1 | -0/+1 | |
2019-09-04 | Update npad.cpp | Morph1984 | 1 | -0/+6 | |
2019-07-08 | addressed issues | David Marcec | 1 | -6/+7 | |
2019-07-01 | hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignment | David Marcec | 2 | -0/+35 | |
StartLrAssignmentMode and StopLrAssignmentMode don't require any implementation as it's just used for showing the screen of changing the controller orientation if the user wishes to do so. Ever since #1634 this has not been needed as users can specify the controller orientation from the config and swap at any time. We store a private member just in case this gets used for anything extra in the future | |||||
2019-05-18 | core/kernel/object: Rename ResetType enum members | Lioncash | 1 | -1/+1 | |
Renames the members to more accurately indicate what they signify. "OneShot" and "Sticky" are kind of ambiguous identifiers for the reset types, and can be kind of misleading. Automatic and Manual communicate the kind of reset type in a clearer manner. Either the event is automatically reset, or it isn't and must be manually cleared. The "OneShot" and "Sticky" terminology is just a hold-over from Citra where the kernel had a third type of event reset type known as "Pulse". Given the Switch kernel only has two forms of event reset types, we don't need to keep the old terminology around anymore. | |||||
2019-02-16 | core_timing: Convert core timing into a class | Lioncash | 17 | -26/+39 | |
Gets rid of the largest set of mutable global state within the core. This also paves a way for eliminating usages of GetInstance() on the System class as a follow-up. Note that no behavioral changes have been made, and this simply extracts the functionality into a class. This also has the benefit of making dependencies on the core timing functionality explicit within the relevant interfaces. | |||||
2019-02-12 | core_timing: Rename CoreTiming namespace to Core::Timing | Lioncash | 8 | -9/+9 | |
Places all of the timing-related functionality under the existing Core namespace to keep things consistent, rather than having the timing utilities sitting in its own completely separate namespace. | |||||
2019-02-06 | remove all occurance of specifying endianness inside BitField | Weiyi Wang | 3 | -68/+68 | |
This commit it automatically generated by command in zsh: sed -i -- 's/BitField<\(.*\)_le>/BitField<\1>/g' **/*(D.) BitField is now aware to endianness and default to little endian. It expects a value representation type without storage specification for its template parameter. | |||||
2018-12-29 | web_browser: Add bounds checking to applet interface | Zach Hilman | 2 | -5/+3 | |
2018-12-28 | hid: Make Hid service accessible and add GetPressState | Zach Hilman | 2 | -0/+14 | |
2018-12-26 | npad: Remove code to invert input in horizontal mode. | bunnei | 1 | -46/+0 | |
- This was incorrect, the game appears to handle this for us. - Fixes horizontal mode with Puyo Puyo Tetris and Super Mario Odyssey. | |||||
2018-12-02 | Fixed crash with SetNpadMode | David Marcec | 1 | -2/+3 | |
fixed crash due to handheld | |||||
2018-11-29 | kernel/event: Reference ReadableEvent from WritableEvent | Zach Hilman | 2 | -13/+7 | |
2018-11-29 | core: Port all current usages of Event to Readable/WritableEvent | Zach Hilman | 2 | -8/+17 | |
2018-11-28 | npad: Use NPadIdToIndex to prevent invalid array access | Zach Hilman | 1 | -2/+2 | |
2018-11-27 | npad: Fix copy/paste error with LED position assignments | Zach Hilman | 1 | -3/+3 | |
2018-11-26 | Changed logging to be "Log before execution", Added more error logging, all services should now log on some level | David Marcec | 1 | -1/+2 | |
2018-11-22 | debug_pad: Avoid loading input for nonexistent buttons (Home and Screenshot) | Zach Hilman | 1 | -2/+3 | |
Prevents memory exceptions when the debug pad is enabled. | |||||
2018-11-19 | hid: Use player-defined controller type as PREFERRED_CONTROLLER | Zach Hilman | 4 | -174/+61 | |
2018-11-19 | hid/npad: Update NPad to use player controller bindings and type | Zach Hilman | 2 | -55/+108 | |
2018-11-19 | hid/touchscreen: Update Touchscreen to use advanced parameters | Zach Hilman | 1 | -6/+6 | |
Including finger ID, diamater x/y, and angle. Additionally, checks if the touchscreen is enabled. | |||||
2018-11-19 | hid: Add controller bindings for Mouse controller | Zach Hilman | 2 | -4/+30 | |
2018-11-19 | hid: Add keyboard bindings for Keyboard controller | Zach Hilman | 2 | -2/+24 | |
2018-11-19 | hid: Add controller bindings for DebugPad controller | Zach Hilman | 2 | -21/+43 | |
Used by developers to test games, not present on retail systems. Some games are known to respond to DebugPad input though, for example Kirby Star Allies. | |||||
2018-11-19 | Added missing start/end touch attributes to touchscreen | David Marcec | 2 | -1/+18 | |
2018-11-19 | Added debugpad skeleton | David Marcec | 2 | -2/+55 | |
2018-11-19 | Added controller helper funcs | David Marcec | 2 | -0/+35 | |
2018-11-19 | Left joycon rotation button remapping | David Marcec | 2 | -7/+21 | |
2018-11-19 | Added automatic npad switch based on supported stylesets | David Marcec | 2 | -4/+124 | |
2018-11-19 | Added multi-input support and controller assignment at any port | David Marcec | 2 | -122/+181 | |
2018-11-16 | Fixed priority switching edge case for handheld (#1675) | David | 1 | -12/+46 | |
* Fixed priority switching edge case for handheld We accidently used controller index instead of npad id * Moved NPadIdToIndex | |||||
2018-11-14 | hid/npad: Add missing break in switch statement within Controller_NPad::OnUpdate() | Lioncash | 1 | -0/+1 | |
2018-11-07 | Updated npad styles on holdtype switches | David Marcec | 1 | -0/+2 | |
Fixes input for megaman | |||||
2018-11-02 | Fixed HID crash when launching more than 1 game & signaled syleset change event | David Marcec | 1 | -0/+3 | |
This should fix crashes when launching multiple games in yuzu | |||||
2018-10-24 | npad: Remove unused controller variable from OnInit() | Lioncash | 1 | -2/+3 | |
This also gets rid of variable shadowing related to the lambda parameter a little bit below this code as well. | |||||
2018-10-20 | Added auto controller switching to supported controllers and single joycon button rotation | David Marcec | 2 | -4/+189 | |
This is a subset of the better-hid-2 changes, this fixes input in various games which don't support dual joycons. This pr will search for the next best controller which is supported by the current game | |||||
2018-10-18 | hid/controller: Remove unused header inclusions | Lioncash | 9 | -9/+0 | |
swap.h only needs to be present in the header for the type aliases and definitions, it's not actually needed in the cpp files though. input.h is just unused entirely in xpad.h | |||||
2018-10-18 | hid/controller/npad: Remove unused dump_idx member variable | Lioncash | 1 | -1/+0 | |
Given it's unused, we may as well toss it. | |||||
2018-10-18 | hid/controller/npad: Remove unnecessary semicolon from the closing brace of LedPattern's constructor | Lioncash | 1 | -1/+1 | |
2018-10-18 | hid/controller/npad: Remove #pragma once from the cpp file | Lioncash | 1 | -2/+0 | |
This is only useful in headers. | |||||
2018-10-18 | hid/controller/npad: Move npad_id_list into the cpp file | Lioncash | 2 | -2/+10 | |
This is just a lookup table, and since it's private, there's nothing really stateful about it, so we can just move it into the cpp file. | |||||
2018-10-18 | hid/controller/npad: Remove unnecessary const from void return type | Lioncash | 2 | -2/+2 | |
This literally does nothing. | |||||
2018-10-18 | hid/controller: Default the destructors of all controller types in the cpp file | Lioncash | 16 | -0/+16 | |
These classes are non-trivial and are definitely going to be changed in the future, so we default these to prevent issues with forward declarations, and to keep the compiler from inlining tear-down code. | |||||
2018-10-18 | controller_base: Default the base class constructor and destructor in the cpp file | Lioncash | 2 | -2/+4 | |
The destructor doesn't need to be a pure-virtual function. | |||||
2018-10-17 | Using dual joycons as the default controller | David Marcec | 2 | -74/+58 | |
Reason for the change is to allow both docked and undocked mode to work | |||||
2018-10-12 | Wip | David Marcec | 1 | -2/+18 | |
2018-10-11 | Dynamically decide handheld variant based on supported npad id priority | David Marcec | 2 | -19/+58 | |
Kirby input still doesn't work, should fix a lot of other games | |||||
2018-10-10 | Added BeginPermitVibrationSession and EndPermitVibrationSession | David Marcec | 2 | -0/+8 | |
Used by Mario Party | |||||
2018-10-10 | Added GetLedPattern and HandheldVariant | David Marcec | 2 | -4/+54 | |
HandheldVariant is for specific games which expect handheld controllers to be at position 8(kirby), however this doesn't fix all games as some games require handhelds to be at position 0(snipperclips) | |||||
2018-10-10 | Kirby expects handheld controllers to be at position 8 | David Marcec | 1 | -2/+8 | |
2018-10-10 | Added the ability to "disconnect" individual npads | David Marcec | 2 | -15/+36 | |
Fixes arms | |||||
2018-10-10 | Removed unneeded forward declarations | David Marcec | 2 | -13/+2 | |
2018-10-10 | Addressed changes for better hid | David Marcec | 18 | -130/+208 | |
2018-10-10 | "Better Hid" rework part 1 | David Marcec | 18 | -0/+1289 | |