Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2024-01-05 | hid_core: Move hid to it's own subproject | Narr the Reg | 1 | -4/+4 | |
2024-01-04 | service: hid: Implement NpadResource and NpadData | Narr the Reg | 1 | -69/+86 | |
2023-12-31 | service: hid: Use applet resource to get latest shared memory handle | Narr the Reg | 1 | -9/+2 | |
2023-12-14 | core: hid: Clean up headers | Narr the Reg | 1 | -4/+1 | |
2023-12-14 | service: hid: Allow to create multiple instances of shared memory | Narr the Reg | 1 | -298/+11 | |
2023-11-21 | service: hid: Create appropriate hid resources | Narr the Reg | 1 | -102/+24 | |
2023-11-19 | Implemented qlaunch version of the controller applet | FrozenAra | 1 | -31/+41 | |
2023-11-17 | service: hid: Introduce firmware settings and update activate controller calls | Narr the Reg | 1 | -0/+7 | |
2023-09-16 | service: hid: Implement ApplyNpadSystemCommonPolicy | german77 | 1 | -0/+2 | |
2023-09-16 | hid: service: Remove outdated field from npad | german77 | 1 | -16/+4 | |
2023-05-15 | service: hid: Use span instead of vector reference | german77 | 1 | -2/+2 | |
2023-03-30 | service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestination | german77 | 1 | -2/+2 | |
Used by Let's Get Fit | |||||
2023-02-10 | core: hid: Use gyro thresholds modes set by the game | Narr the Reg | 1 | -10/+4 | |
2023-02-08 | service: hid: Return error if arguments of SetSupportedNpadIdType is invalid | Narr the Reg | 1 | -1/+1 | |
2023-02-03 | Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span" | ameerj | 1 | -1/+2 | |
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 | 1 | -2/+1 | |
2022-12-29 | hidbus: Use ReadBufferSpan | ameerj | 1 | -1/+2 | |
2022-12-25 | service: Use ReadBufferSpan where it is trivial to do so | ameerj | 1 | -1/+1 | |
2022-06-29 | service: hid: Correct some mistakes and add more validations | Narr the Reg | 1 | -1/+2 | |
2022-06-27 | core: Replace all instances of ResultCode with Result | german77 | 1 | -35/+34 | |
2022-05-27 | service: hid: Implement ResetIsSixAxisSensorDeviceNewlyAssigned | german77 | 1 | -3/+13 | |
Needed by Nintendo Switch Sports | |||||
2022-05-27 | service: hid: Implement LoadSixAxisSensorCalibrationParameter and GetSixAxisSensorIcInformation | german77 | 1 | -0/+8 | |
Needed by Nintendo Switch Sports | |||||
2022-05-27 | service: hid: Implement EnableSixAxisSensorUnalteredPassthrough and IsSixAxisSensorUnalteredPassthroughEnabled | german77 | 1 | -0/+5 | |
Needed by Nintendo Switch Sports | |||||
2022-05-27 | service: hid: Add error handling to sixaxis functions | german77 | 1 | -1/+2 | |
2022-05-27 | service: hid: Refractor sixaxis functions | german77 | 1 | -9/+14 | |
2022-05-27 | service: hid: Implement MergeSingleJoyAsDualJoy according to RE | german77 | 1 | -1/+2 | |
2022-05-27 | service: hid: Add error handling to setNpadAssignment and variants | german77 | 1 | -2/+2 | |
2022-05-27 | service: hid: Quick RE fixes and comments | german77 | 1 | -6/+7 | |
2022-04-24 | service: hid: Ensure all structs are initialized | Narr the Reg | 1 | -5/+4 | |
2022-04-23 | service: hid: Access shared memory directly | Narr the Reg | 1 | -11/+16 | |
2022-04-23 | general: Convert source file copyright comments over to SPDX | Morph | 1 | -3/+2 | |
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 | 1 | -16/+34 | |
2022-04-03 | service: npad: Default initialize shared memory | german77 | 1 | -48/+48 | |
2022-03-31 | service: hid: Remove inaccurate behavior on initialization | german77 | 1 | -1/+2 | |
2022-03-19 | core: Reduce unused includes | ameerj | 1 | -1/+2 | |
2021-12-16 | core/hid: Cancel any vibration after the test | Narr the Reg | 1 | -7/+0 | |
2021-12-05 | service/hid: Implement SetNpadJoyAssignmentMode | german77 | 1 | -2/+6 | |
2021-11-30 | npad: Return NpadButton in GetAndResetPressState | Morph | 1 | -2/+2 | |
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-25 | service/hid: Finish converting LIFO objects and address some nits | Narr the Reg | 1 | -38/+18 | |
2021-11-25 | core/hid: Remove usage of native types, fix a couple of errors with motion | german77 | 1 | -80/+81 | |
2021-11-25 | service/hid: Remove includes of core.h and settings.h | german77 | 1 | -2/+1 | |
2021-11-25 | core/hid: Rename NpadType to NpadStyleIndex | german77 | 1 | -5/+6 | |
2021-11-25 | second commit lion review | german77 | 1 | -1/+5 | |
2021-11-25 | kraken: Address comments from review | german77 | 1 | -2/+1 | |
start lion review | |||||
2021-11-25 | core/hid: Update structs to 13.1.0 | german77 | 1 | -6/+54 | |
2021-11-25 | Morph review first wave | german77 | 1 | -11/+11 | |
2021-11-25 | service/hid: Match shared memory closer to HW | german77 | 1 | -8/+35 | |
2021-11-25 | kraken: Address comments from review | german77 | 1 | -1/+1 | |
review fixes | |||||
2021-11-25 | hid: Fix controller connection/disconnection | german77 | 1 | -0/+3 | |
2021-11-25 | core/hid: Add output devices | german77 | 1 | -17/+1 | |
2021-11-25 | service/hid: Rewrite npad to use ring lifo and the emulated controller | german77 | 1 | -263/+132 | |
2021-11-25 | settings: Cleanup settings | german77 | 1 | -1/+1 | |
2021-09-27 | service/hid: Update to 13.0.0 | german77 | 1 | -0/+1 | |
2021-07-21 | hle: service: Add a helper module for managing kernel objects. | bunnei | 1 | -1/+7 | |
2021-06-22 | npad: Fix data race when updating devices | Rodrigo Locatti | 1 | -0/+4 | |
Add a lock to avoid data races. This reduces the number of -fsanitize=thread errors significantly. | |||||
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 | 1 | -1/+1 | |
2021-05-06 | hle: kernel: Refactor several threads/events/sharedmemory to use slab heaps. | bunnei | 1 | -2/+3 | |
2021-05-06 | hle: kernel: Migrate KEvent to KAutoObject. | bunnei | 1 | -1/+1 | |
2021-05-06 | hle: kernel: Refactor IPC interfaces to not use std::shared_ptr. | bunnei | 1 | -1/+1 | |
2021-05-04 | service: Resolve cases of member field shadowing | Lioncash | 1 | -1/+1 | |
Now all that remains is for kernel code to be 'shadow-free' and then -Wshadow can be turned into an error. | |||||
2021-04-24 | hid: Implement SevenSixAxis and ConsoleSixAxisSensor | german77 | 1 | -0/+2 | |
2021-04-19 | npad: Remove duplicated class member variable | Lioncash | 1 | -1/+0 | |
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 | 1 | -1/+1 | |
- Removes a dependency on core and input_common from common. | |||||
2021-04-08 | service: hid: Stub SetAnalogStickUseCenterClamp | Morph | 1 | -0/+2 | |
- Used by eBASEBALLパワフルプロ野球2020 | |||||
2021-02-08 | hid: Implement GC controller | german | 1 | -1/+25 | |
2021-02-05 | hle: kernel: Reimplement KReadableEvent and KWritableEvent. | bunnei | 1 | -2/+6 | |
2021-02-05 | hle: kernel: Rename WritableEvent to KWritableEvent. | bunnei | 1 | -1/+1 | |
2021-02-05 | hle: kernel: Rename ReadableEvent to KReadableEvent. | bunnei | 1 | -1/+1 | |
2021-02-04 | Add footer types and address comments | german | 1 | -13/+47 | |
2021-02-04 | Fix npad struct to match switchbrew | german | 1 | -39/+69 | |
2021-02-04 | Adds missing controller types and properties | german | 1 | -3/+30 | |
2021-01-27 | npad: Remove unused device handle parameter | Morph | 1 | -3/+3 | |
2021-01-24 | Stub Set/Get/Reset SixaxisSensorFusionParameters | german | 1 | -0/+5 | |
2021-01-15 | core: Silence Wclass-memaccess warnings | ReinUsesLisp | 1 | -8/+15 | |
This requires making several types trivial and properly initialize them whenever they are called. | |||||
2020-12-18 | controllers/npad: Make press_state atomic | Morph | 1 | -1/+2 | |
2020-12-12 | controllers/npad: Validate device handles before use | Morph | 1 | -0/+4 | |
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 | 1 | -0/+10 | |
2020-11-16 | hid: Reimplement Begin/EndPermitVibrationSession | Morph | 1 | -0/+3 | |
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 | general: Fix compiler warnings on linux and miscellaneous changes | Morph | 1 | -1/+1 | |
2020-11-16 | controllers/npad: Remove the old vibration filter | Morph | 1 | -0/+4 | |
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 | 1 | -0/+7 | |
2020-11-16 | input_common: Add VibrationDevice and VibrationDeviceFactory | Morph | 1 | -3/+8 | |
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 | hid: Mark Begin/EndPermitVibrationSession as stubs | Morph | 1 | -3/+0 | |
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 | 1 | -6/+8 | |
This stops all controllers from continuously vibrating when emulation is stopped. | |||||
2020-11-16 | hid: Fix controller rumble based on new research | Morph | 1 | -6/+6 | |
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 | 1 | -7/+7 | |
Reorders all HID commands in command id order. | |||||
2020-11-16 | controllers/npad: Rename NPadType to NpadStyleSet | Morph | 1 | -6/+6 | |
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-09-30 | hid: Stub HomeButtonInputProtection service commands | Morph | 1 | -0/+3 | |
- 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 | 1 | -1/+1 | |
2020-09-24 | Use different timing for motion | german | 1 | -0/+4 | |
2020-09-18 | hid: Implement Get/SetNpadHandheldActivationMode | Morph | 1 | -0/+10 | |
- Used in Clubhouse Games: 51 Worldwide Classics | |||||
2020-09-05 | Remove RealMotionDevice | german | 1 | -5/+5 | |
2020-09-05 | Include HID and configuration changes related to motion | german | 1 | -9/+45 | |
2020-09-04 | hid: Implement MergeSingleJoyasDualJoy | Morph | 1 | -0/+1 | |
- Used in multiple games such as Super Mario Odyssey. | |||||
2020-09-04 | applets/controller: Implement fallback applet for the SDL frontend | Morph | 1 | -1/+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 | 1 | -1/+5 | |
Co-authored-by: Its-Rei <kupfel@gmail.com> | |||||
2020-08-26 | Project Mjölnir: Part 1 | Morph | 1 | -4/+7 | |
Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com> | |||||
2020-06-21 | hid: Implement Get/ResetGyroscopeZeroDriftMode | Morph | 1 | -1/+9 | |
- Used by Captain Toad Treasure Tracker | |||||
2019-11-25 | kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154) | bunnei | 1 | -1/+1 | |
* 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-10-18 | hid/npad: Remove redundant non-const variant of IsControllerSupported() | Lioncash | 1 | -1/+0 | |
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-09-22 | Rebased | David Marcec | 1 | -2/+3 | |
2019-09-22 | marked controller constructors as explicit | David Marcec | 1 | -1/+1 | |
2019-09-22 | Rebase | David Marcec | 1 | -2/+3 | |
2019-09-22 | Deglobalize System: Hid | David Marcec | 1 | -1/+1 | |
2019-09-04 | ditto | Morph1984 | 1 | -1/+1 | |
Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com> | |||||
2019-09-04 | Update npad.h | Morph1984 | 1 | -0/+1 | |
2019-07-01 | hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignment | David Marcec | 1 | -0/+5 | |
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-02-16 | core_timing: Convert core timing into a class | Lioncash | 1 | -1/+1 | |
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-06 | remove all occurance of specifying endianness inside BitField | Weiyi Wang | 1 | -51/+51 | |
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 | 1 | -1/+1 | |
2018-12-28 | hid: Make Hid service accessible and add GetPressState | Zach Hilman | 1 | -0/+6 | |
2018-11-29 | kernel/event: Reference ReadableEvent from WritableEvent | Zach Hilman | 1 | -6/+2 | |
2018-11-29 | core: Port all current usages of Event to Readable/WritableEvent | Zach Hilman | 1 | -3/+8 | |
2018-11-27 | npad: Fix copy/paste error with LED position assignments | Zach Hilman | 1 | -3/+3 | |
2018-11-19 | hid: Use player-defined controller type as PREFERRED_CONTROLLER | Zach Hilman | 1 | -3/+8 | |
2018-11-19 | hid/npad: Update NPad to use player controller bindings and type | Zach Hilman | 1 | -2/+7 | |
2018-11-19 | Added controller helper funcs | David Marcec | 1 | -0/+4 | |
2018-11-19 | Left joycon rotation button remapping | David Marcec | 1 | -2/+5 | |
2018-11-19 | Added automatic npad switch based on supported stylesets | David Marcec | 1 | -1/+3 | |
2018-11-19 | Added multi-input support and controller assignment at any port | David Marcec | 1 | -3/+13 | |
2018-10-20 | Added auto controller switching to supported controllers and single joycon button rotation | David Marcec | 1 | -0/+2 | |
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/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: Move npad_id_list into the cpp file | Lioncash | 1 | -1/+0 | |
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 | 1 | -1/+1 | |
This literally does nothing. | |||||
2018-10-18 | hid/controller: Default the destructors of all controller types in the cpp file | Lioncash | 1 | -0/+1 | |
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-17 | Using dual joycons as the default controller | David Marcec | 1 | -6/+11 | |
Reason for the change is to allow both docked and undocked mode to work | |||||
2018-10-11 | Dynamically decide handheld variant based on supported npad id priority | David Marcec | 1 | -3/+3 | |
Kirby input still doesn't work, should fix a lot of other games | |||||
2018-10-10 | Added BeginPermitVibrationSession and EndPermitVibrationSession | David Marcec | 1 | -0/+2 | |
Used by Mario Party | |||||
2018-10-10 | Added GetLedPattern and HandheldVariant | David Marcec | 1 | -2/+20 | |
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 | Added the ability to "disconnect" individual npads | David Marcec | 1 | -3/+12 | |
Fixes arms | |||||
2018-10-10 | Removed unneeded forward declarations | David Marcec | 1 | -7/+1 | |
2018-10-10 | Addressed changes for better hid | David Marcec | 1 | -26/+37 | |
2018-10-10 | "Better Hid" rework part 1 | David Marcec | 1 | -0/+249 | |