Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | service: move hle_ipc from kernel | Liam | 2023-03-01 | 1 | -110/+110 |
| | |||||
* | Merge pull request #9832 from liamwhite/hle-mp | liamwhite | 2023-03-01 | 1 | -2/+1 |
|\ | | | | | service: HLE multiprocess | ||||
| * | service: refactor server architecture | Liam | 2023-02-21 | 1 | -2/+1 |
| | | | | | | | | Converts services to have their own processes | ||||
* | | Merge pull request #9859 from liamwhite/tmem-use | liamwhite | 2023-02-28 | 1 | -2/+8 |
|\ \ | | | | | | | service: avoid direct pointer access of transfer memory objects | ||||
| * | | hid: avoid direct pointer access of transfer memory objects | Liam | 2023-02-24 | 1 | -2/+8 |
| |/ | |||||
* / | core: Update service function tables to 16.0.0+ | Narr the Reg | 2023-02-25 | 1 | -0/+1 |
|/ | |||||
* | service: hid: Only overclock npad controllers | german77 | 2022-11-19 | 1 | -1/+3 |
| | |||||
* | service: hid: Partially implement palma controller | Narr the Reg | 2022-09-25 | 1 | -0/+29 |
| | |||||
* | service: hid: Implement ResetIsSixAxisSensorDeviceNewlyAssigned | german77 | 2022-05-27 | 1 | -0/+1 |
| | | | | Needed by Nintendo Switch Sports | ||||
* | service: hid: Implement LoadSixAxisSensorCalibrationParameter and GetSixAxisSensorIcInformation | german77 | 2022-05-27 | 1 | -0/+2 |
| | | | | Needed by Nintendo Switch Sports | ||||
* | service: hid: Implement EnableSixAxisSensorUnalteredPassthrough and IsSixAxisSensorUnalteredPassthroughEnabled | german77 | 2022-05-27 | 1 | -0/+2 |
| | | | | Needed by Nintendo Switch Sports | ||||
* | Merge pull request #8274 from german77/firmware | Morph | 2022-04-29 | 1 | -0/+1 |
|\ | | | | | service: hid: Stub IsFirmwareUpdateNeededForNotification | ||||
| * | service: hid: Stub IsFirmwareUpdateNeededForNotification | german77 | 2022-04-27 | 1 | -0/+1 |
| | | | | | | | | Used in Fitness Boxing 2: Rhythm & Exercise (0100073011382000) | ||||
* | | service: hid: Access shared memory directly | Narr the Reg | 2022-04-23 | 1 | -4/+5 |
|/ | |||||
* | 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 | -0/+1 |
| | |||||
* | hid: Stub IsUsbFullKeyControllerEnabled | lat9nq | 2022-02-12 | 1 | -0/+1 |
| | | | | | | Used by Splatoon 2, when opening the inventory from a LAN battle lobby. Reference: https://switchbrew.org/wiki/HID_services | ||||
* | service/hid: Stub SetNpadCaptureButtonAssignment and ClearNpadCaptureButtonAssignment | german77 | 2021-12-06 | 1 | -0/+2 |
| | | | | Used by ring fit adventure 1.2.0 | ||||
* | core/hid: Improve accuary of mouse implementation | german77 | 2021-11-25 | 1 | -2/+2 |
| | |||||
* | core/hid: Improve accuracy of the keyboard implementation | german77 | 2021-11-25 | 1 | -0/+2 |
| | |||||
* | service/hid: Remove includes of core.h and settings.h | german77 | 2021-11-25 | 1 | -2/+2 |
| | |||||
* | service/hid: Use remove duplicated code, update names | german77 | 2021-11-25 | 1 | -27/+0 |
| | |||||
* | hid: Stub SetTouchScreenConfiguration | german77 | 2021-09-10 | 1 | -0/+1 |
| | |||||
* | hle: service: Add a helper module for managing kernel objects. | bunnei | 2021-07-21 | 1 | -1/+12 |
| | |||||
* | hid: Stub IsFirmwareUpdateAvailableForSixAxisSensor | german77 | 2021-06-11 | 1 | -0/+1 |
| | |||||
* | hle: kernel: Migrate KSharedMemory to KAutoObject. | bunnei | 2021-05-06 | 1 | -6/+0 |
| | |||||
* | service: hid: Stub SetAnalogStickUseCenterClamp | Morph | 2021-04-08 | 1 | -0/+1 |
| | | | | - Used by eBASEBALLパワフルプロ野球2020 | ||||
* | Merge pull request #5953 from bunnei/memory-refactor-1 | bunnei | 2021-02-27 | 1 | -2/+2 |
|\ | | | | | Kernel Rework: Memory updates and refactoring (Part 1) | ||||
| * | hle: kernel: Rename SharedMemory to KSharedMemory. | bunnei | 2021-02-19 | 1 | -2/+2 |
| | | |||||
* | | hid: Implement GameCube Controller Vibrations | Morph | 2021-02-21 | 1 | -0/+10 |
|/ | | | | Implements both SendVibrationGcErmCommand and GetActualVibrationGcErmCommand, and modifies GetVibrationDeviceInfo to account for additional controllers. | ||||
* | Adds missing controller types and properties | german | 2021-02-04 | 1 | -4/+6 |
| | |||||
* | Stub Set/Get/Reset SixaxisSensorFusionParameters | german | 2021-01-24 | 1 | -0/+3 |
| | |||||
* | Merge pull request #5021 from german77/StubCommunicationMode | bunnei | 2020-11-29 | 1 | -0/+2 |
|\ | | | | | HID: Stub set and get NpadCommunicationMode | ||||
| * | Stub set and get NpadCommunicationMode | german | 2020-11-27 | 1 | -0/+2 |
| | | |||||
* | | service: Eliminate usages of the global system instance | Lioncash | 2020-11-27 | 1 | -4/+2 |
|/ | | | | | Completely removes all usages of the global system instance within the services code by passing in the using system instance to the services. | ||||
* | hid: Stub IsVibrationDeviceMounted | Morph | 2020-11-16 | 1 | -0/+1 |
| | | | | - Used in Super Mario Odyssey | ||||
* | hid: Reorder all HID commands | Morph | 2020-11-16 | 1 | -10/+10 |
| | | | | Reorders all HID commands in command id order. | ||||
* | hid: Implement GetVibrationDeviceInfo | Morph | 2020-11-16 | 1 | -0/+16 |
| | | | | | | | | | | 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. | ||||
* | Merge pull request #4736 from Morph1984/home-button-input-protection-stub | bunnei | 2020-10-07 | 1 | -0/+2 |
|\ | | | | | hid: Stub HomeButtonInputProtection service commands | ||||
| * | hid: Stub HomeButtonInputProtection service commands | Morph | 2020-09-30 | 1 | -0/+2 |
| | | | | | | | | - 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 | -0/+1 |
|\ \ | |/ |/| | HID: Add Stub for EnableSixAxisSensorFusion | ||||
| * | Stubbed EnableSixAxisSensorFusion | german | 2020-09-30 | 1 | -0/+1 |
| | | |||||
* | | Use different timing for motion | german | 2020-09-24 | 1 | -0/+2 |
|/ | |||||
* | Include HID and configuration changes related to motion | german | 2020-09-05 | 1 | -0/+2 |
| | |||||
* | core_timing: Make use of uintptr_t to represent user_data | Lioncash | 2020-07-28 | 1 | -1/+1 |
| | | | | 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 | -4/+3 |
| | | | | Enforces our desired time units directly with a concrete type. | ||||
* | Merge pull request #4141 from Morph1984/SevenSixAxisSensor | David | 2020-06-25 | 1 | -4/+9 |
|\ | | | | | hid: Stub a series of "SevenSixAxisSensor" service commands | ||||
| * | hid: Stub a series of "SevenSixAxisSensor" service commands | Morph | 2020-06-24 | 1 | -4/+9 |
| | | | | | | | | | | | | - 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 | -0/+2 |
|/ | | | | - Used by Captain Toad Treasure Tracker | ||||
* | hid: Stub GetXpadIDs | VolcaEM | 2020-06-01 | 1 | -0/+1 |
| | | | Allows Minecraft: Nintendo Switch Edition (a.k.a. old Minecraft) to boot and go ingame | ||||
* | Stub SendKeyboardLockKeyEvent | David Marcec | 2020-05-11 | 1 | -0/+1 |
| | | | | Needed for Puchikon 4 SmileBASIC 1.0.0 | ||||
* | services: hid: Stub StopSevenSixAxisSensor. | M&M | 2020-04-26 | 1 | -0/+1 |
| | | | | - Used by The Legend of Zelda: Breath of the Wild v1.6.0 | ||||
* | services: hid: Stub InitializeSevenSixAxisSensor. | bunnei | 2020-03-27 | 1 | -0/+1 |
| | | | | - Used by Super Smash Bros. Ultimate v7.0.0. | ||||
* | core_timing: Use better reference tracking for EventType. (#3159) | bunnei | 2019-11-27 | 1 | -1/+1 |
| | | | | | | | * 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. | ||||
* | kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154) | bunnei | 2019-11-25 | 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. | ||||
* | Merge pull request #2859 from Morph1984/hid | David | 2019-11-06 | 1 | -6/+8 |
|\ | | | | | hid: Stub SetNpadJoyAssignmentModeSingle and GetNpadHandheldActivationMode | ||||
| * | hid: Stub SetNpadJoyAssignmentModeSingle and reorganize service commands | Morph | 2019-10-07 | 1 | -6/+8 |
| | | |||||
* | | hid: Implement DeactivateNpad | Morph | 2019-10-07 | 1 | -0/+1 |
|/ | | | | Makes use of the already existing DeactivateController function. | ||||
* | Rebase | David Marcec | 2019-09-22 | 1 | -3/+3 |
| | |||||
* | Deglobalize System: Hid | David Marcec | 2019-09-22 | 1 | -3/+5 |
| | |||||
* | Update hid.h | Morph1984 | 2019-09-04 | 1 | -0/+2 |
| | |||||
* | hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignment | David Marcec | 2019-07-01 | 1 | -0/+3 |
| | | | | 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 | ||||
* | core/core_timing: Make callback parameters consistent | Lioncash | 2019-03-24 | 1 | -1/+1 |
| | | | | | | | | | | | 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. | ||||
* | vm_manager: Remove cheat-specific ranges from VMManager | Zach Hilman | 2019-03-05 | 1 | -0/+2 |
| | |||||
* | controllers/npad: Add accessor for current press state | Zach Hilman | 2019-03-05 | 1 | -0/+1 |
| | | | | Allows frontend/features to access pressed buttons conveniently as possible | ||||
* | service/hid: Amend forward declaration of ServiceManager | Lioncash | 2019-02-27 | 1 | -1/+1 |
| | | | | | The SM namespace is within the Service namespace, so this was forward declaring a type that didn't exist. | ||||
* | core_timing: Rename CoreTiming namespace to Core::Timing | Lioncash | 2019-02-12 | 1 | -2/+2 |
| | | | | | | 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. | ||||
* | travis: Use correct package for linux Qt5WebEngine | Zach Hilman | 2018-12-29 | 1 | -2/+2 |
| | |||||
* | hid: Make Hid service accessible and add GetPressState | Zach Hilman | 2018-12-28 | 1 | -0/+110 |
| | |||||
* | "Better Hid" rework part 1 | David Marcec | 2018-10-10 | 1 | -399/+3 |
| | |||||
* | hid: Move core include to cpp file | Lioncash | 2018-08-24 | 1 | -1/+3 |
| | | | | | 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: Use HID_NUM_LAYOUTS constant for indicating size of the layouts array | Lioncash | 2018-07-19 | 1 | -1/+1 |
| | | | | Gets rid of the use of a magic constant | ||||
* | hid: Update all layouts and only show handheld as connected, fixes libnx input for P1_AUTO | shinyquagsire23 | 2018-06-12 | 1 | -1/+1 |
| | |||||
* | Fix deadlocks caused from HID having too many layouts | David Marcec | 2018-05-24 | 1 | -1/+1 |
| | | | | Games such as SMO deadlock if we have more than 2 layouts | ||||
* | hid: Tweaks, Analog Sticks (#435) | Max Thomas | 2018-05-07 | 1 | -12/+86 |
| | | | | | | | | | | | | | | * hid: Update mouse/keyboard state * hid: Working analog sticks * hid: Nits * hid: Nits * hid: Update mystery sections * hid: Tweaks | ||||
* | service: Use nested namespace specifiers where applicable | Lioncash | 2018-04-20 | 1 | -4/+2 |
| | | | | Tidies up namespace declarations | ||||
* | hid: Adjust for style guide | shinyquagsire23 | 2018-01-17 | 1 | -50/+55 |
| | |||||
* | hid: Write to all layouts, implement circular buffers, set up controller metadata. | shinyquagsire23 | 2018-01-16 | 1 | -1/+6 |
| | |||||
* | hid: Bare-minimum sharedmem input | shinyquagsire23 | 2018-01-15 | 1 | -2/+2 |
| | |||||
* | hid: Remove redundant HID prefix on structs/enums | shinyquagsire23 | 2018-01-15 | 1 | -73/+73 |
| | |||||
* | hid: Add sharedmem structs | shinyquagsire23 | 2018-01-15 | 1 | -0/+312 |
| | |||||
* | hid: Implement IAppletResource::GetSharedMemoryHandle. | bunnei | 2018-01-15 | 1 | -7/+6 |
| | |||||
* | Remove lots more 3DS-specific code. | bunnei | 2017-10-13 | 1 | -263/+3 |
| | |||||
* | HID: zero unused PadState bits | wwylele | 2017-08-10 | 1 | -1/+1 |
| | |||||
* | ir: implement new 3ds HID via ir:rst | wwylele | 2017-05-04 | 1 | -0/+10 |
| | |||||
* | Input: remove unused stuff & clean up | wwylele | 2017-03-01 | 1 | -34/+0 |
| | | | | | | | 1. removed zl, zr and c-stick from HID::PadState. They are handled by IR, not HID 2. removed button handling in EmuWindow 3. removed key_map 4. cleanup #include | ||||
* | HID: use ButtonDevice | wwylele | 2017-03-01 | 1 | -0/+3 |
| | |||||
* | hid: remove the touch field from PadState (#2557) | Weiyi Wang | 2017-02-11 | 1 | -4/+0 |
| | |||||
* | HID: manages updating itself using correct ticks | wwylele | 2017-01-16 | 1 | -3/+0 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 1 | -1/+0 |
| | | | | | | | This makes clang-format useful on those. Also add a bunch of forgotten transitive includes, which otherwise prevented compilation. | ||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 1 | -35/+34 |
| | |||||
* | Refactor input subsystem | wwylele | 2016-05-15 | 1 | -3/+0 |
| | |||||
* | implement GyroscopeCalibrateParam | wwylele | 2016-03-25 | 1 | -1/+13 |
| | |||||
* | implement accel and gyro backend | wwylele | 2016-03-22 | 1 | -0/+66 |
| | |||||
* | Move input values into an array | James Rowe | 2015-07-28 | 1 | -1/+4 |
| | |||||
* | Common: Cleanup key_map includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -7/+9 |
| | |||||
* | HID: Stub DisableAccelerometer and DisableGyroscopeLow | purpasmart96 | 2015-05-23 | 1 | -5/+23 |
| | |||||
* | Services: Stubs and minor changes | purpasmart96 | 2015-04-03 | 1 | -3/+3 |
| | |||||
* | HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow along | purpasmart96 | 2015-03-17 | 1 | -1/+29 |
| | | | | with a stub for GetSoundVolume | ||||
* | HID: Removed unnecessary global variables. | bunnei | 2015-03-11 | 1 | -10/+0 |
| | |||||
* | HID: Added additional variable comments and some code cleanups. | bunnei | 2015-03-11 | 1 | -18/+23 |
| | |||||
* | HID: Complete refactor of pad/touch input to fix threading issues. | bunnei | 2015-03-11 | 1 | -30/+5 |
| | |||||
* | HID: Changed TouchDataEntry `valid` to a BitField and added some doc strings. | bunnei | 2015-03-10 | 1 | -3/+3 |
| | |||||
* | HID: Added static asserts to check register position in shared memory. | bunnei | 2015-03-10 | 1 | -2/+16 |
| | |||||
* | HID: Added functions to emulate the touchpad. | bunnei | 2015-03-10 | 1 | -0/+13 |
| | |||||
* | HID: Moved some docstrings to the header. | bunnei | 2015-03-10 | 1 | -1/+14 |
| | |||||
* | HID: Refactored shared memory decoding for touchpad support. | bunnei | 2015-03-10 | 1 | -12/+34 |
| | |||||
* | Services: Moved the PTM and APT services to their own folder | Subv | 2015-03-04 | 1 | -0/+17 |
| | | | | | | 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. | ||||
* | Frontends, HID: Add New 3DS specific pad buttons, and stub the touch one. | Emmanuel Gil Peyrot | 2015-02-22 | 1 | -0/+19 |
| | |||||
* | Kernel: Convert Event to not use Handles | Yuri Kunde Schlesner | 2015-01-30 | 1 | -5/+6 |
| | |||||
* | Kernel: Convert SharedMemory to not use Handles | Yuri Kunde Schlesner | 2015-01-30 | 1 | -1/+5 |
| | |||||
* | Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx | archshift | 2015-01-21 | 1 | -0/+111 |