Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | general: Convert source file copyright comments over to SPDX | Morph | 2022-04-23 | 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. | ||||
* | service: hid: Improve accuracy of sixaxis functions | Narr the Reg | 2022-04-18 | 1 | -37/+92 |
| | |||||
* | hidbus: Implement hidbus and ringcon | german77 | 2022-04-16 | 1 | -26/+1 |
| | |||||
* | service: hid: Partially revert #8123 | german77 | 2022-04-06 | 1 | -0/+4 |
| | |||||
* | Merge pull request #8123 from german77/bombslinger | bunnei | 2022-04-03 | 1 | -4/+0 |
|\ | | | | | service: hid: Remove inaccurate behavior on initialization | ||||
| * | service: hid: Remove inaccurate behavior on initialization | german77 | 2022-03-31 | 1 | -4/+0 |
| | | |||||
* | | service: hid: Signal event on AcquireNpadStyleSetUpdateEventHandle | Narr the Reg | 2022-03-31 | 1 | -0/+4 |
|/ | |||||
* | hid: Stub IsUsbFullKeyControllerEnabled | lat9nq | 2022-02-12 | 1 | -1/+11 |
| | | | | | | Used by Splatoon 2, when opening the inventory from a LAN battle lobby. Reference: https://switchbrew.org/wiki/HID_services | ||||
* | service/hid: Initialize applet_resource on SetNpadAnalogStickUseCenterClamp | german77 | 2022-01-19 | 1 | -1/+2 |
| | |||||
* | service/hid: Decrease motion update rate | Narr the Reg | 2022-01-13 | 1 | -1/+2 |
| | | | Motion stops working in Mario Tennis in swing mode if the update rate is too fast even when HW it updates at the same speed. 10ms it's the minimum period that the game needs to start working again. | ||||
* | core/hid: Cancel any vibration after the test | Narr the Reg | 2021-12-16 | 1 | -1/+1 |
| | |||||
* | Merge pull request #7521 from german77/dual_single_joycons | bunnei | 2021-12-08 | 1 | -13/+13 |
|\ | | | | | service/hid: Implement SetNpadJoyAssignmentMode | ||||
| * | service/hid: Implement SetNpadJoyAssignmentMode | german77 | 2021-12-05 | 1 | -13/+13 |
| | | |||||
* | | service/hid: Stub SetNpadCaptureButtonAssignment and ClearNpadCaptureButtonAssignment | german77 | 2021-12-06 | 1 | -2/+33 |
|/ | | | | Used by ring fit adventure 1.2.0 | ||||
* | core/hid: Stub GetUniquePadsFromNpad | Narr the Reg | 2021-11-27 | 1 | -1/+13 |
| | | | | Used in checkpoint homebrew | ||||
* | core/hid: Improve accuary of mouse implementation | german77 | 2021-11-25 | 1 | -11/+18 |
| | |||||
* | core/hid: Improve accuracy of the keyboard implementation | german77 | 2021-11-25 | 1 | -4/+31 |
| | |||||
* | core/hid: Remove usage of native types, fix a couple of errors with motion | german77 | 2021-11-25 | 1 | -130/+159 |
| | |||||
* | service/hid: Remove includes of core.h and settings.h | german77 | 2021-11-25 | 1 | -0/+1 |
| | |||||
* | core/hid: Rename NpadType to NpadStyleIndex | german77 | 2021-11-25 | 1 | -7/+7 |
| | |||||
* | kraken: Address comments from review | german77 | 2021-11-25 | 1 | -2/+1 |
| | | | | review fixes | ||||
* | kraken: Fix errors from rebase and format files | german77 | 2021-11-25 | 1 | -1/+0 |
| | |||||
* | service/hid: Use remove duplicated code, update names | german77 | 2021-11-25 | 1 | -37/+30 |
| | |||||
* | settings: Cleanup settings | german77 | 2021-11-25 | 1 | -2/+1 |
| | |||||
* | core: Remove unused includes | ameerj | 2021-11-04 | 1 | -2/+0 |
| | |||||
* | service: Reduce header include overhead | Morph | 2021-10-07 | 1 | -4/+0 |
| | |||||
* | style: Remove extra space preceding the :: operator | Morph | 2021-09-29 | 1 | -1/+1 |
| | |||||
* | service/hid: Update to 13.0.0 | german77 | 2021-09-27 | 1 | -0/+9 |
| | |||||
* | hid: Stub SetTouchScreenConfiguration | german77 | 2021-09-10 | 1 | -1/+13 |
| | |||||
* | hle: service: Add a helper module for managing kernel objects. | bunnei | 2021-07-21 | 1 | -6/+8 |
| | |||||
* | hid: Stub IsFirmwareUpdateAvailableForSixAxisSensor | german77 | 2021-06-11 | 1 | -1/+22 |
| | |||||
* | general: Replace RESULT_UNKNOWN with ResultUnknown | Morph | 2021-06-02 | 1 | -2/+2 |
| | | | | Transition to PascalCase for result names. | ||||
* | general: Replace RESULT_SUCCESS with ResultSuccess | Morph | 2021-06-02 | 1 | -72/+72 |
| | | | | Transition to PascalCase for result names. | ||||
* | hid: ApplyNpadSystemCommonPolicy | Chloe Marcec | 2021-05-24 | 1 | -1/+10 |
| | | | | We already do this specifically for homebrew, so we can keep it stubbed out for the time being | ||||
* | hle: kernel: Migrate KClientPort to KAutoObject. | bunnei | 2021-05-06 | 1 | -1/+1 |
| | |||||
* | hle: kernel: Migrate KTransferMemory to KAutoObject. | bunnei | 2021-05-06 | 1 | -8/+9 |
| | |||||
* | hle: kernel: Migrate KSession, KClientSession, and KServerSession to KAutoObject. | bunnei | 2021-05-06 | 1 | -1/+0 |
| | |||||
* | hle: kernel: Migrate KSharedMemory to KAutoObject. | bunnei | 2021-05-06 | 1 | -6/+4 |
| | |||||
* | hle: kernel: Refactor IPC interfaces to not use std::shared_ptr. | bunnei | 2021-05-06 | 1 | -1/+1 |
| | |||||
* | hid: Implement SevenSixAxis and ConsoleSixAxisSensor | german77 | 2021-04-24 | 1 | -10/+20 |
| | |||||
* | service: hid: Get transfer memory for InitializeSevenSixAxisSensor | Morph | 2021-04-22 | 1 | -1/+38 |
| | |||||
* | common: Move settings to common from core. | bunnei | 2021-04-15 | 1 | -1/+1 |
| | | | | - Removes a dependency on core and input_common from common. | ||||
* | Merge pull request #6158 from german77/hidServiceTables | bunnei | 2021-04-10 | 1 | -0/+83 |
|\ | | | | | hid: Update service function tables | ||||
| * | hid: Update service function tables | german77 | 2021-04-07 | 1 | -0/+83 |
| | | |||||
* | | service: hid: Stub SetAnalogStickUseCenterClamp | Morph | 2021-04-08 | 1 | -1/+22 |
|/ | | | | - Used by eBASEBALLパワフルプロ野球2020 | ||||
* | Merge pull request #5953 from bunnei/memory-refactor-1 | bunnei | 2021-02-27 | 1 | -1/+1 |
|\ | | | | | Kernel Rework: Memory updates and refactoring (Part 1) | ||||
| * | hle: kernel: Rename SharedMemory to KSharedMemory. | bunnei | 2021-02-19 | 1 | -1/+1 |
| | | |||||
* | | hid: Implement GameCube Controller Vibrations | Morph | 2021-02-21 | 1 | -3/+120 |
|/ | | | | Implements both SendVibrationGcErmCommand and GetActualVibrationGcErmCommand, and modifies GetVibrationDeviceInfo to account for additional controllers. | ||||
* | Merge pull request #5868 from german77/HandheldFix | bunnei | 2021-02-08 | 1 | -0/+1 |
|\ | | | | | Prevent over scheduling audio events and add motion update unschedule event | ||||
| * | Prevent over scheduling audio events and terminate properly the motion update event | german | 2021-02-02 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #5326 from german77/hidUpdate1 | bunnei | 2021-02-06 | 1 | -7/+13 |
|\ \ | | | | | | | HID: Update the HID service to match more closely to switchbrew part 1 | ||||
| * | | Adds missing controller types and properties | german | 2021-02-04 | 1 | -7/+13 |
| | | | |||||
* | | | hle: kernel: Rename WritableEvent to KWritableEvent. | bunnei | 2021-02-05 | 1 | -1/+1 |
| | | | |||||
* | | | hle: kernel: Rename ReadableEvent to KReadableEvent. | bunnei | 2021-02-05 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #5861 from german77/HandheldFix | bunnei | 2021-02-02 | 1 | -2/+11 |
|\| | | | | | hid: Only update motion for npad and prevent over scheduling events | ||||
| * | Only update motion for npad and prevent over scheduling events | german | 2021-02-01 | 1 | -2/+11 |
| | | |||||
* | | hid: Add static_assert for Parameter size | Morph | 2021-01-28 | 1 | -15/+19 |
| | | |||||
* | | npad: Remove unused device handle parameter | Morph | 2021-01-27 | 1 | -4/+3 |
| | | |||||
* | | Stub Set/Get/Reset SixaxisSensorFusionParameters | german | 2021-01-24 | 1 | -3/+78 |
| | | |||||
* | | core: Silence Wclass-memaccess warnings | ReinUsesLisp | 2021-01-15 | 1 | -74/+74 |
|/ | | | | | This requires making several types trivial and properly initialize them whenever they are called. | ||||
* | hle: service: Acquire and release a lock on requests. | bunnei | 2020-12-29 | 1 | -0/+2 |
| | | | | - This makes it such that we can safely access service members from CoreTiming thread. | ||||
* | Merge pull request #4998 from Morph1984/bioshock-patch | bunnei | 2020-11-29 | 1 | -2/+4 |
|\ | | | | | hid: Check if applet_resource exists in InitializeVibrationDevice | ||||
| * | hid: Check if applet_resource exists in InitializeVibrationDevice | Morph | 2020-11-25 | 1 | -2/+4 |
| | | |||||
* | | Merge pull request #5021 from german77/StubCommunicationMode | bunnei | 2020-11-29 | 1 | -2/+30 |
|\ \ | | | | | | | HID: Stub set and get NpadCommunicationMode | ||||
| * | | Stub set and get NpadCommunicationMode | german | 2020-11-27 | 1 | -2/+30 |
| |/ | |||||
* / | service: Eliminate usages of the global system instance | Lioncash | 2020-11-27 | 1 | -16/+18 |
|/ | | | | | Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services. | ||||
* | hid: Reimplement Begin/EndPermitVibrationSession | Morph | 2020-11-16 | 1 | -3/+8 |
| | | | | 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. | ||||
* | controllers/npad: Remove the old vibration filter | Morph | 2020-11-16 | 1 | -1/+1 |
| | | | | 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. | ||||
* | hid: Implement InitializeVibrationDevice and IsVibrationDeviceMounted | Morph | 2020-11-16 | 1 | -11/+18 |
| | |||||
* | input_common: Add VibrationDevice and VibrationDeviceFactory | Morph | 2020-11-16 | 1 | -0/+1 |
| | | | | | | 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. | ||||
* | hid: Mark Begin/EndPermitVibrationSession as stubs | Morph | 2020-11-16 | 1 | -6/+3 |
| | | | | 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. | ||||
* | controllers/npad: Send an empty vibration on destruction/deactivation | Morph | 2020-11-16 | 1 | -2/+2 |
| | | | | This stops all controllers from continuously vibrating when emulation is stopped. | ||||
* | hid: Stub IsVibrationDeviceMounted | Morph | 2020-11-16 | 1 | -1/+22 |
| | | | | - Used in Super Mario Odyssey | ||||
* | hid: Fix controller rumble based on new research | Morph | 2020-11-16 | 1 | -19/+36 |
| | | | | | This fixes the issue where rumble is only sent to the first controller. Now, individual controllers can receive their own rumble commands. | ||||
* | hid: Pop a struct of parameters instead of popping individual parameters | Morph | 2020-11-16 | 1 | -103/+237 |
| | | | | | Some parameters need to be doubleword aligned due to the presence of the applet_resource_user_id. Previously, this value was invalid in many commands where it was not doubleword aligned when popped. | ||||
* | hid: Reorder all HID commands | Morph | 2020-11-16 | 1 | -181/+196 |
| | | | | Reorders all HID commands in command id order. | ||||
* | hid: Implement GetVibrationDeviceInfo | Morph | 2020-11-16 | 1 | -3/+23 |
| | | | | | | | | | | The first u32 describes the vibration device type which is a Linear Resonant Actuator used in Nintendo Switch controller hardware. The second u32 describes the vibration device position, in this case distinguishing between left and right vibration actuators. Pro Controllers have 2 LRAs each that can vibrate independently of each other, which means they have 2 distinct vibration device handles to distinguish between the two actuators. Similarly for joycons, the left joycon can be distinguished from the right joycon through the vibration device handle since each joycon has 1 LRA. | ||||
* | hid: Stub InitializeVibrationDevice | Morph | 2020-11-16 | 1 | -3/+11 |
| | |||||
* | settings: Preparation for per-game input settings | Morph | 2020-11-16 | 1 | -2/+2 |
| | |||||
* | service: Update function tables | Lioncash | 2020-10-28 | 1 | -1/+1 |
| | | | | Updates function tables according to info on SwitchBrew. | ||||
* | core/CMakeLists: Make some warnings errors | Lioncash | 2020-10-13 | 1 | -1/+1 |
| | | | | | | | | | 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. | ||||
* | Merge pull request #4736 from Morph1984/home-button-input-protection-stub | bunnei | 2020-10-07 | 1 | -2/+36 |
|\ | | | | | hid: Stub HomeButtonInputProtection service commands | ||||
| * | hid: Stub HomeButtonInputProtection service commands | Morph | 2020-09-30 | 1 | -2/+36 |
| | | | | | | | | - Used in 1-2 Switch. Given that we do not emulate the functionality of the home button yet, we can stub this for now. | ||||
* | | Merge pull request #4734 from german77/motionfusion | bunnei | 2020-10-02 | 1 | -1/+14 |
|\ \ | | | | | | | HID: Add Stub for EnableSixAxisSensorFusion | ||||
| * | | Stubbed EnableSixAxisSensorFusion | german | 2020-09-30 | 1 | -1/+14 |
| | | | |||||
* | | | Merge pull request #4291 from german77/ImplementControllerRumble | David | 2020-09-30 | 1 | -5/+3 |
|\ \ \ | |_|/ |/| | | input_common: First implementation of controller rumble | ||||
| * | | First implementation of controller rumble | german | 2020-09-29 | 1 | -5/+3 |
| |/ | |||||
* / | Use different timing for motion | german | 2020-09-24 | 1 | -3/+18 |
|/ | |||||
* | Merge pull request #4683 from Morph1984/NpadHandheldActivationMode-impl | bunnei | 2020-09-20 | 1 | -5/+10 |
|\ | | | | | hid: Implement Get/SetNpadHandheldActivationMode | ||||
| * | hid: Implement Get/SetNpadHandheldActivationMode | Morph | 2020-09-18 | 1 | -5/+10 |
| | | | | | | | | - Used in Clubhouse Games: 51 Worldwide Classics | ||||
* | | Merge pull request #4643 from FearlessTobi/decrease-pad-update-interval | bunnei | 2020-09-19 | 1 | -1/+1 |
|\ \ | | | | | | | Test: Decrease pad_update_ns | ||||
| * | | Test: Decrease pad_update_ns | FearlessTobi | 2020-09-10 | 1 | -1/+1 |
| |/ | | | | | | | | | | | There have been reports of quite heavy input lag in the past. Compared to Citra for example, our pad_update_ns value is very high. So let's decrease it and see if it helps with this problem. | ||||
* / | Include HID and configuration changes related to motion | german | 2020-09-05 | 1 | -6/+31 |
|/ | |||||
* | hid: Implement MergeSingleJoyasDualJoy | Morph | 2020-09-04 | 1 | -5/+7 |
| | | | | - Used in multiple games such as Super Mario Odyssey. | ||||
* | Project Mjölnir: Part 1 | Morph | 2020-08-26 | 1 | -9/+5 |
| | | | | | Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com> | ||||
* | core_timing: Make use of uintptr_t to represent user_data | Lioncash | 2020-07-28 | 1 | -3/+5 |
| | | | | Makes the interface future-proofed for supporting other platforms in the event we ever support platforms with differing pointer sizes. This way, we have a type in place that is always guaranteed to be able to represent a pointer exactly. | ||||
* | core_timing: Make TimedCallback take std::chrono::nanoseconds | Lioncash | 2020-07-16 | 1 | -5/+4 |
| | | | | Enforces our desired time units directly with a concrete type. | ||||
* | core_timing: Make use of std::chrono with ScheduleEvent | Lioncash | 2020-07-16 | 1 | -5/+7 |
| | |||||
* | General: Recover Prometheus project from harddrive failure | Fernando Sahmkow | 2020-06-27 | 1 | -9/+7 |
| | | | | | | | 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. | ||||
* | Merge pull request #4141 from Morph1984/SevenSixAxisSensor | David | 2020-06-25 | 1 | -17/+76 |
|\ | | | | | hid: Stub a series of "SevenSixAxisSensor" service commands | ||||
| * | hid: Stub a series of "SevenSixAxisSensor" service commands | Morph | 2020-06-24 | 1 | -17/+76 |
| | | | | | | | | | | | | - Used by Captain Toad: Treasure Tracker Update 1.3.0 While we're at it, fix the input parameters for SetIsPalmaAllConnectable and SetPalmaBoostMode | ||||
* | | hid: Implement Get/ResetGyroscopeZeroDriftMode | Morph | 2020-06-21 | 1 | -5/+37 |
|/ | | | | - Used by Captain Toad Treasure Tracker | ||||
* | Clang-format | VolcaEM | 2020-06-01 | 1 | -2/+1 |
| | |||||
* | hid: Stub GetXpadIDs | VolcaEM | 2020-06-01 | 1 | -1/+13 |
| | | | Allows Minecraft: Nintendo Switch Edition (a.k.a. old Minecraft) to boot and go ingame | ||||
* | Stub SendKeyboardLockKeyEvent | David Marcec | 2020-05-11 | 1 | -1/+10 |
| | | | | Needed for Puchikon 4 SmileBASIC 1.0.0 | ||||
* | Merge pull request #3797 from slashiee/hid-stub | Mat M | 2020-04-27 | 1 | -1/+12 |
|\ | | | | | services: hid: Stub StopSevenSixAxisSensor. | ||||
| * | services: hid: Stub StopSevenSixAxisSensor. | M&M | 2020-04-26 | 1 | -1/+12 |
| | | | | | | | | - Used by The Legend of Zelda: Breath of the Wild v1.6.0 | ||||
* | | service: Update function tables | Lioncash | 2020-04-20 | 1 | -1/+36 |
|/ | | | | | | Keeps the service function tables up to date. Updated based off information on SwitchBrew. | ||||
* | service: hid: Update for new shared memory layout. | bunnei | 2020-04-17 | 1 | -3/+2 |
| | |||||
* | services: hid: Stub InitializeSevenSixAxisSensor. | bunnei | 2020-03-27 | 1 | -1/+8 |
| | | | | - Used by Super Smash Bros. Ultimate v7.0.0. | ||||
* | Core: Set all hardware emulation constants in a single file. | Fernando Sahmkow | 2020-02-12 | 1 | -3/+4 |
| | |||||
* | core_timing: Use better reference tracking for EventType. (#3159) | bunnei | 2019-11-27 | 1 | -3/+2 |
| | | | | | | | * core_timing: Use better reference tracking for EventType. - Moves ownership of the event to the caller, ensuring we don't fire events for destroyed objects. - Removes need for unique names - we won't be using this for save states anyways. | ||||
* | service: Update function tables | Lioncash | 2019-11-12 | 1 | -0/+24 |
| | | | | | | Keeps the function tables up to date. Updated based off information from Switchbrew. | ||||
* | Merge pull request #2859 from Morph1984/hid | David | 2019-11-06 | 1 | -86/+118 |
|\ | | | | | hid: Stub SetNpadJoyAssignmentModeSingle and GetNpadHandheldActivationMode | ||||
| * | hid: Stub SetNpadJoyAssignmentModeSingle and reorganize service commands | Morph | 2019-10-07 | 1 | -86/+118 |
| | | |||||
* | | hid: Implement DeactivateNpad | Morph | 2019-10-07 | 1 | -1/+12 |
|/ | | | | Makes use of the already existing DeactivateController function. | ||||
* | service/hid: Silence -Wunused and -Wswitch | ReinUsesLisp | 2019-10-05 | 1 | -2/+4 |
| | |||||
* | Rebased | David Marcec | 2019-09-22 | 1 | -1/+1 |
| | |||||
* | Rebase | David Marcec | 2019-09-22 | 1 | -3/+3 |
| | |||||
* | Deglobalize System: IRS | David Marcec | 2019-09-22 | 1 | -1/+1 |
| | |||||
* | Deglobalize System: Hid | David Marcec | 2019-09-22 | 1 | -13/+14 |
| | |||||
* | clang-format | Morph1984 | 2019-09-04 | 1 | -2/+2 |
| | |||||
* | Update hid.cpp | Morph1984 | 2019-09-04 | 1 | -2/+23 |
| | |||||
* | hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignment | David Marcec | 2019-07-01 | 1 | -3/+47 |
| | | | | 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 | ||||
* | service: Update service function tables | Lioncash | 2019-04-11 | 1 | -0/+15 |
| | | | | Updates function tables based off information from SwitchBrew. | ||||
* | core/core_timing: Make callback parameters consistent | Lioncash | 2019-03-24 | 1 | -5/+5 |
| | | | | | | | | | | | In some cases, our callbacks were using s64 as a parameter, and in other cases, they were using an int, which is inconsistent. To make all callbacks consistent, we can just use an s64 as the type for late cycles, given it gets rid of the need to cast internally. While we're at it, also resolve some signed/unsigned conversions that were occurring related to the callback registration. | ||||
* | core_timing: Convert core timing into a class | Lioncash | 2019-02-16 | 1 | -7/+11 |
| | | | | | | | | | | | 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. | ||||
* | core_timing: Rename CoreTiming namespace to Core::Timing | Lioncash | 2019-02-12 | 1 | -10/+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. | ||||
* | web_browser: Add bounds checking to applet interface | Zach Hilman | 2018-12-29 | 1 | -120/+124 |
| | |||||
* | hid: Make Hid service accessible and add GetPressState | Zach Hilman | 2018-12-28 | 1 | -459/+416 |
| | |||||
* | hid: Fix SetNpadJoyHoldType and improve logging. | bunnei | 2018-12-21 | 1 | -44/+163 |
| | |||||
* | core: Port all current usages of Event to Readable/WritableEvent | Zach Hilman | 2018-11-29 | 1 | -1/+2 |
| | |||||
* | Changed logging to be "Log before execution", Added more error logging, all services should now log on some level | David Marcec | 2018-11-26 | 1 | -40/+76 |
| | |||||
* | Changed polling rate of hid and Right joycon rotation | David Marcec | 2018-11-19 | 1 | -2/+2 |
| | |||||
* | Added SetIsPalmaAllConnectable, SetPalmaBoostMode | David Marcec | 2018-11-16 | 1 | -2/+14 |
| | | | | Currently unclear what these do yet, will be researched at a later time when we want to implement palma. | ||||
* | Fixed HID crash when launching more than 1 game & signaled syleset change event | David Marcec | 2018-11-02 | 1 | -0/+2 |
| | | | | This should fix crashes when launching multiple games in yuzu | ||||
* | hid: Update service function table for hidbus | Lioncash | 2018-10-21 | 1 | -0/+1 |
| | | | | Updated based off information provided by Switchbrew. | ||||
* | hid: Update service function tables | Lioncash | 2018-10-19 | 1 | -6/+45 |
| | | | | Updated based off information provided by Switchbrew. | ||||
* | Using dual joycons as the default controller | David Marcec | 2018-10-17 | 1 | -3/+1 |
| | | | | Reason for the change is to allow both docked and undocked mode to work | ||||
* | Wip | David Marcec | 2018-10-12 | 1 | -1/+5 |
| | |||||
* | Dynamically decide handheld variant based on supported npad id priority | David Marcec | 2018-10-11 | 1 | -0/+4 |
| | | | | Kirby input still doesn't work, should fix a lot of other games | ||||
* | Added BeginPermitVibrationSession and EndPermitVibrationSession | David Marcec | 2018-10-10 | 1 | -2/+18 |
| | | | | Used by Mario Party | ||||
* | Added GetLedPattern and HandheldVariant | David Marcec | 2018-10-10 | 1 | -2/+9 |
| | | | | 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) | ||||
* | Added the ability to "disconnect" individual npads | David Marcec | 2018-10-10 | 1 | -1/+4 |
| | | | | Fixes arms | ||||
* | Addressed changes for better hid | David Marcec | 2018-10-10 | 1 | -37/+30 |
| | |||||
* | "Better Hid" rework part 1 | David Marcec | 2018-10-10 | 1 | -244/+189 |
| | |||||
* | Fixed GetAccountId stub, Added error code for OpenDirectory and added ActivateNpadWithRevision | David Marcec | 2018-09-19 | 1 | -1/+7 |
| | | | | With these, `Nintendo Entertainment System - Nintendo Switch Online` loads | ||||
* | Added ActivateGesture | David Marcec | 2018-09-18 | 1 | -1/+7 |
| | |||||
* | Added StopSixAxisSensor | David Marcec | 2018-09-18 | 1 | -1/+7 |
| | |||||
* | Stubbed ActivateConsoleSixAxisSensor & StartConsoleSixAxisSensor | David Marcec | 2018-09-18 | 1 | -2/+14 |
| | |||||
* | Port #4182 from Citra: "Prefix all size_t with std::" | fearlessTobi | 2018-09-15 | 1 | -1/+1 |
| | |||||
* | hid: Implement ReloadInputDevices | fearlessTobi | 2018-09-09 | 1 | -4/+4 |
| | |||||
* | kernel: Eliminate kernel global state | Lioncash | 2018-08-29 | 1 | -3/+6 |
| | | | | | | | | | | | | | | | | | | | | | | As means to pave the way for getting rid of global state within core, This eliminates kernel global state by removing all globals. Instead this introduces a KernelCore class which acts as a kernel instance. This instance lives in the System class, which keeps its lifetime contained to the lifetime of the System class. This also forces the kernel types to actually interact with the main kernel instance itself instead of having transient kernel state placed all over several translation units, keeping everything together. It also has a nice consequence of making dependencies much more explicit. This also makes our initialization a tad bit more correct. Previously we were creating a kernel process before the actual kernel was initialized, which doesn't really make much sense. The KernelCore class itself follows the PImpl idiom, which allows keeping all the implementation details sealed away from everything else, which forces the use of the exposed API and allows us to avoid any unnecessary inclusions within the main kernel header. | ||||
* | hid: Move core include to cpp file | Lioncash | 2018-08-24 | 1 | -0/+1 |
| | | | | | This isn't required to be in the header. Instead, directly include what this header needs and move it to the cpp file where it belongs. | ||||
* | hid: disable clang-format around tables | Lioncash | 2018-08-12 | 1 | -4/+5 |
| | | | | Prevents clang-format from butchering them. | ||||
* | hid: Stub DisconnectNpad() | Lioncash | 2018-08-12 | 1 | -1/+7 |
| | | | | This is required by ARMS. | ||||
* | hid: fix IsSixAxisSensorAtRest() response | mailwl | 2018-08-08 | 1 | -1/+1 |
| | |||||
* | services/hid: Add ActivateNpadWithRevision() to the hid function info array | Lioncash | 2018-08-07 | 1 | -0/+1 |
| | | | | Updated based off the information on Switch Brew. | ||||
* | Add some HID commands (#843) | Hexagon12 | 2018-07-30 | 1 | -2/+16 |
| | | | | | | * Added some HID commands * Addressed comments | ||||
* | service/hid: Add the hidbus, hid:dbg, hid:sys, and hid:tmp services | Lioncash | 2018-07-26 | 1 | -0/+220 |
| | |||||
* | service/hid: Add the xcd:sys service | Lioncash | 2018-07-26 | 1 | -0/+2 |
| | |||||
* | service/hid: Add irs services | Lioncash | 2018-07-26 | 1 | -0/+3 |
| | |||||
* | core_timing: Split off utility functions into core_timing_util | MerryMage | 2018-07-24 | 1 | -0/+1 |
| | |||||
* | hid: Use a ranged-for loops in UpdatePadCallback | Lioncash | 2018-07-19 | 1 | -7/+3 |
| | | | | | Modernizes the loops themselves while also getting rid of a signed/unsigned comparison in a loop condition. | ||||
* | Fill in more fields in TouchScreenEntryTouch | Zach Hilman | 2018-07-18 | 1 | -4/+9 |
| | |||||
* | Single touch support | Zach Hilman | 2018-07-18 | 1 | -4/+19 |
| | |||||
* | HID: Update controllers less often | James Rowe | 2018-07-15 | 1 | -3/+3 |
| | |||||
* | hid: Fix timestamps and controller type. | bunnei | 2018-07-11 | 1 | -7/+5 |
| | | | | - This fixes user input in SMO. | ||||
* | Rename logging macro back to LOG_* | James Rowe | 2018-07-03 | 1 | -25/+25 |
| | |||||
* | Narrow down filter of layout configs | Zach Hilman | 2018-06-14 | 1 | -9/+5 |
| | |||||
* | Move loop condition to free function | Zach Hilman | 2018-06-13 | 1 | -4/+9 |
| | |||||
* | Avoid initializing single-joycon layouts with handheld controller | Zach Hilman | 2018-06-13 | 1 | -1/+4 |
| | |||||
* | hid: Update all layouts and only show handheld as connected, fixes libnx input for P1_AUTO | shinyquagsire23 | 2018-06-12 | 1 | -1/+2 |
| | |||||
* | add IPC CommandType & Some HID FunctionInfo (#487) | greggameplayer | 2018-05-30 | 1 | -0/+30 |
| | | | | | | | | | | * add some CommandType * add some hid FunctionInfo * add some other HID FunctionInfo * delete non useful comments | ||||
* | hid: Tweaks, Analog Sticks (#435) | Max Thomas | 2018-05-07 | 1 | -56/+134 |
| | | | | | | | | | | | | | | * hid: Update mouse/keyboard state * hid: Working analog sticks * hid: Nits * hid: Nits * hid: Update mystery sections * hid: Tweaks | ||||
* | core_timing: Namespace all functions and constants in core_timing's header | Lioncash | 2018-04-30 | 1 | -3/+3 |
| | | | | All of these variables and functions are related to timings and should be within the namespace. | ||||
* | hid: Move logging macros over to new fmt-compatible ones | Lioncash | 2018-04-24 | 1 | -25/+25 |
| | |||||
* | service: Use nested namespace specifiers where applicable | Lioncash | 2018-04-20 | 1 | -4/+2 |
| | | | | Tidies up namespace declarations | ||||
* | Stubbed out GetPlayerLedPattern | Hexagon12 | 2018-04-13 | 1 | -1/+7 |
| | |||||
* | Updated hid with more service names. | Hexagon12 | 2018-04-10 | 1 | -0/+50 |
| | |||||
* | Merge pull request #297 from bunnei/hid-touch-state | bunnei | 2018-04-02 | 1 | -5/+21 |
|\ | | | | | hid: Write empty touch screen state. | ||||
| * | hid: Write empty touch screen state. | bunnei | 2018-04-01 | 1 | -5/+21 |
| | | |||||
* | | hid: Stub out GetSupportedNpadStyleSet. | bunnei | 2018-03-31 | 1 | -0/+8 |
|/ | |||||
* | hid: Stub out SetNpadJoyAssignmentModeDual. | bunnei | 2018-03-25 | 1 | -1/+7 |
| | |||||
* | CoreTiming: Unschedule the pending events when an Interface is destroyed. | Subv | 2018-03-04 | 1 | -0/+4 |
| | |||||
* | Service/hid: stub some functions | mailwl | 2018-02-16 | 1 | -0/+43 |
| | |||||
* | hid: Stub GetVibrationDeviceInfo and SendVibrationValues. | bunnei | 2018-02-15 | 1 | -0/+15 |
| | |||||
* | Service: stub some functions in am, audio, time, vi services | mailwl | 2018-02-07 | 1 | -0/+22 |
| | |||||
* | Service/hid: stub SetNpadHandheldActivationMode | mailwl | 2018-02-06 | 1 | -0/+7 |
| | |||||
* | hid: Stub ActivateTouchScreen and SetNpadJoyHoldType. | bunnei | 2018-02-06 | 1 | -2/+14 |
| | |||||
* | hid: Stub out several functions. | bunnei | 2018-02-05 | 1 | -1/+39 |
| | |||||
* | hid: Implement CreateActiveVibrationDeviceList. | bunnei | 2018-02-04 | 1 | -0/+25 |
| | |||||
* | logger: Use Service_HID category where applicable. | bunnei | 2018-02-04 | 1 | -2/+2 |
| | |||||
* | hle: Rename RequestBuilder to ResponseBuilder. | bunnei | 2018-01-25 | 1 | -2/+2 |
| | |||||
* | service: Fix all incorrect IPC response headers. | bunnei | 2018-01-25 | 1 | -11/+2 |
| | |||||
* | Services: Added a todo about returning interfaces as domain objects in lm, hid and time. | Subv | 2018-01-23 | 1 | -0/+3 |
| | |||||
* | HID: Don't create an unnecessary port in CreateAppletResource. | Subv | 2018-01-22 | 1 | -13/+13 |
| | |||||
* | Stub OpenAudioOut and fix a issue with HID IAppletResource being created more than once | gdkchan | 2018-01-22 | 1 | -1/+6 |
| | |||||
* | hid: Adjust timing based on actual hardware | shinyquagsire23 | 2018-01-17 | 1 | -3/+3 |
| | |||||
* | hid: clang-format | shinyquagsire23 | 2018-01-17 | 1 | -3/+3 |
| | |||||
* | hid: Adjust for style guide | shinyquagsire23 | 2018-01-17 | 1 | -13/+13 |
| | |||||
* | hid: Write to all layouts, implement circular buffers, set up controller metadata. | shinyquagsire23 | 2018-01-16 | 1 | -38/+65 |
| | |||||
* | hid: Bare-minimum sharedmem input | shinyquagsire23 | 2018-01-15 | 1 | -0/+86 |
| | |||||
* | hid: Remove unused registered_loggers. | bunnei | 2018-01-15 | 1 | -3/+0 |
| | |||||
* | hid: Implement IAppletResource::GetSharedMemoryHandle. | bunnei | 2018-01-15 | 1 | -3/+61 |
| | |||||
* | Remove lots more 3DS-specific code. | bunnei | 2017-10-13 | 1 | -422/+3 |
| | |||||
* | Fixed type conversion ambiguity | Huw Pascoe | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | HID: use TouchDevice for touch pad | wwylele | 2017-08-24 | 1 | -4/+8 |
| | |||||
* | HID: fix a comment and a warning | wwylele | 2017-08-20 | 1 | -2/+2 |
| | |||||
* | HID: use MotionDevice for Accelerometer and Gyroscope | wwylele | 2017-08-11 | 1 | -5/+27 |
| | |||||
* | ResultVal: Remove MoveFrom() | Yuri Kunde Schlesner | 2017-06-19 | 1 | -6/+6 |
| | | | | | Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in case you already have an rvalue. | ||||
* | Service: Remove unnecessary includes from service.h | Yuri Kunde Schlesner | 2017-06-06 | 1 | -0/+2 |
| | | | | | This has a huge fallout in terms of needing to fix other files because all service implementations included that file. | ||||
* | ir: implement new 3ds HID via ir:rst | wwylele | 2017-05-04 | 1 | -8/+11 |
| | |||||
* | HID: use AnalogDevice | wwylele | 2017-03-01 | 1 | -2/+9 |
| | |||||
* | HID: use ButtonDevice | wwylele | 2017-03-01 | 1 | -1/+44 |
| | |||||
* | HID: move enable_accelerometer/gyroscope_count initialization into Init() (#2574) | Weiyi Wang | 2017-02-17 | 1 | -2/+5 |
| | | | Fixes #2556 | ||||
* | HID: reset acceleroeter and gyroscope index in Init | wwylele | 2017-01-20 | 1 | -0/+2 |
| | |||||
* | CoreTiming: use named constant for ARM11 clock rate | wwylele | 2017-01-16 | 1 | -3/+3 |
| | |||||
* | HID: manages updating itself using correct ticks | wwylele | 2017-01-16 | 1 | -55/+93 |
| | |||||
* | core: Move emu_window and key_map into core | MerryMage | 2016-12-23 | 1 | -1/+1 |
| | | | | * Removes circular dependences (common should not depend on core) | ||||
* | hid: Get rid of a double -> float truncation warning | Lioncash | 2016-12-15 | 1 | -1/+2 |
| | | | | float literals need to have the 'f' prefix. | ||||
* | Use negative priorities to avoid special-casing the self-include | Yuri Kunde Schlesner | 2016-09-21 | 1 | -1/+1 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -8/+4 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Manually tweak source formatting and then re-run clang-format | Yuri Kunde Schlesner | 2016-09-19 | 1 | -5/+4 |
| | |||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -22/+25 |
| | |||||
* | hid: add missing header | wwylele | 2016-06-11 | 1 | -0/+2 |
| | |||||
* | fixup! fixup! Refactor input system | wwylele | 2016-05-15 | 1 | -1/+1 |
| | |||||
* | Refactor input subsystem | wwylele | 2016-05-15 | 1 | -32/+36 |
| | |||||
* | Kernel/SharedMemory: Properly implemented shared memory support. | Subv | 2016-05-13 | 1 | -2/+3 |
| | | | | | | | Applications can request the kernel to allocate a piece of the linear heap for them when creating a shared memory object. Shared memory areas are now properly mapped into the target processes when calling svcMapMemoryBlock. Removed the APT Shared Font hack as it is no longer needed. | ||||
* | use reference instead of pointer | wwylele | 2016-03-26 | 1 | -9/+9 |
| | |||||
* | implement GyroscopeCalibrateParam | wwylele | 2016-03-25 | 1 | -8/+7 |
| | |||||
* | implement accel and gyro backend | wwylele | 2016-03-22 | 1 | -3/+90 |
| | |||||
* | hid: fix pad update | wwylele | 2016-03-13 | 1 | -1/+1 |
| | |||||
* | svc: Make ResetType an enum class | Lioncash | 2016-03-12 | 1 | -5/+5 |
| | |||||
* | BitField: Make trivially copyable and remove assignment operator | MerryMage | 2016-02-12 | 1 | -1/+1 |
| | |||||
* | services: Get rid of unnecessary includes | Lioncash | 2016-02-02 | 1 | -1/+0 |
| | |||||
* | general: Silence some warnings when using clang | Lioncash | 2015-09-16 | 1 | -2/+2 |
| | |||||
* | Move input values into an array | James Rowe | 2015-07-28 | 1 | -0/+10 |
| | |||||
* | CitraQt: Cleanup includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -0/+1 |
| | |||||
* | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 2015-05-29 | 1 | -1/+1 |
| | |||||
* | hid: Get rid of undefined behavior | Lioncash | 2015-05-27 | 1 | -2/+2 |
| | | | | Modifying a variable twice across a sequence point. | ||||
* | HID: Stub DisableAccelerometer and DisableGyroscopeLow | purpasmart96 | 2015-05-23 | 1 | -0/+20 |
| | |||||
* | Kernel: Capture SharedMemory attributes at creation, not when mapping | Yuri Kunde Schlesner | 2015-05-11 | 1 | -2/+4 |
| | |||||
* | Common: Remove common.h | Yuri Kunde Schlesner | 2015-05-07 | 1 | -0/+2 |
| | |||||
* | Services: Initialize all state variables at bootup. | bunnei | 2015-05-02 | 1 | -8/+14 |
| | |||||
* | Services: Stubs and minor changes | purpasmart96 | 2015-04-03 | 1 | -3/+3 |
| | |||||
* | Merge pull request #655 from purpasmart96/hid_fixes | bunnei | 2015-03-17 | 1 | -0/+32 |
|\ | | | | | HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along with a stub for GetSoundVolume | ||||
| * | HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along | purpasmart96 | 2015-03-17 | 1 | -0/+32 |
| | | | | | | | | with a stub for GetSoundVolume | ||||
* | | arm_interface: Get rid of GetTicks. | Lioncash | 2015-03-16 | 1 | -3/+3 |
|/ | | | | Removes a TODO. | ||||
* | HID: Removed unnecessary global variables. | bunnei | 2015-03-11 | 1 | -48/+42 |
| | |||||
* | HID: Added additional variable comments and some code cleanups. | bunnei | 2015-03-11 | 1 | -2/+6 |
| | |||||
* | HID: Complete refactor of pad/touch input to fix threading issues. | bunnei | 2015-03-11 | 1 | -81/+23 |
| | |||||
* | HID: Cleanup how `next_touch_index` is calculated for Pad and touch. | bunnei | 2015-03-10 | 1 | -2/+2 |
| | |||||
* | HID: Changed TouchDataEntry `valid` to a BitField and added some doc strings. | bunnei | 2015-03-10 | 1 | -1/+1 |
| | |||||
* | HID: Added functions to emulate the touchpad. | bunnei | 2015-03-10 | 1 | -0/+48 |
| | |||||
* | HID: Moved some docstrings to the header. | bunnei | 2015-03-10 | 1 | -23/+2 |
| | |||||
* | HID: Refactored shared memory decoding for touchpad support. | bunnei | 2015-03-10 | 1 | -21/+30 |
| | |||||
* | Services: Moved the PTM and APT services to their own folder | Subv | 2015-03-04 | 1 | -0/+32 |
| | | | | | | This coincidentally fixes an issue about the PTM service failing to create its SharedExtSaveData archive due to the FS service not being initialized by the time the creating code runs. Ideally I'd like to move each process to its own folder, and have a single file per process that registers the service classes, which would be in their own files inside that folder. Then each service class would just call functions from the process to complete the commands. | ||||
* | Kernel: Stop creating useless Handles during object creation | Yuri Kunde Schlesner | 2015-02-02 | 1 | -6/+6 |
| | | | | | They're finally unnecessary, and will stop cluttering the application's handle table. | ||||
* | HID: Fix crash when pressing a key when the emulator is stopped | Yuri Kunde Schlesner | 2015-02-02 | 1 | -0/+2 |
| | |||||
* | Kernel: Convert Event to not use Handles | Yuri Kunde Schlesner | 2015-01-30 | 1 | -13/+15 |
| | |||||
* | Kernel: Convert SharedMemory to not use Handles | Yuri Kunde Schlesner | 2015-01-30 | 1 | -3/+3 |
| | |||||
* | Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx | archshift | 2015-01-21 | 1 | -0/+138 |