summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/hid.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* service: hid: Split hid.cpp into individual interfacesNarr the Reg2023-11-151-210/+2
|
* service: hid: Implement ApplyNpadSystemCommonPolicygerman772023-09-161-1/+1
|
* service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestinationgerman772023-03-301-0/+1
| | | | Used by Let's Get Fit
* service: move hle_ipc from kernelLiam2023-03-011-110/+110
|
* Merge pull request #9832 from liamwhite/hle-mpliamwhite2023-03-011-2/+1
|\ | | | | service: HLE multiprocess
| * service: refactor server architectureLiam2023-02-211-2/+1
| | | | | | | | Converts services to have their own processes
* | Merge pull request #9859 from liamwhite/tmem-useliamwhite2023-02-281-2/+8
|\ \ | | | | | | service: avoid direct pointer access of transfer memory objects
| * | hid: avoid direct pointer access of transfer memory objectsLiam2023-02-241-2/+8
| |/
* / core: Update service function tables to 16.0.0+Narr the Reg2023-02-251-0/+1
|/
* service: hid: Only overclock npad controllersgerman772022-11-191-1/+3
|
* service: hid: Partially implement palma controllerNarr the Reg2022-09-251-0/+29
|
* service: hid: Implement ResetIsSixAxisSensorDeviceNewlyAssignedgerman772022-05-271-0/+1
| | | | Needed by Nintendo Switch Sports
* service: hid: Implement LoadSixAxisSensorCalibrationParameter and GetSixAxisSensorIcInformationgerman772022-05-271-0/+2
| | | | Needed by Nintendo Switch Sports
* service: hid: Implement EnableSixAxisSensorUnalteredPassthrough and IsSixAxisSensorUnalteredPassthroughEnabledgerman772022-05-271-0/+2
| | | | Needed by Nintendo Switch Sports
* Merge pull request #8274 from german77/firmwareMorph2022-04-291-0/+1
|\ | | | | service: hid: Stub IsFirmwareUpdateNeededForNotification
| * service: hid: Stub IsFirmwareUpdateNeededForNotificationgerman772022-04-271-0/+1
| | | | | | | | Used in Fitness Boxing 2: Rhythm & Exercise (0100073011382000)
* | service: hid: Access shared memory directlyNarr the Reg2022-04-231-4/+5
|/
* general: Convert source file copyright comments over to SPDXMorph2022-04-231-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 functionsNarr the Reg2022-04-181-0/+1
|
* hid: Stub IsUsbFullKeyControllerEnabledlat9nq2022-02-121-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 ClearNpadCaptureButtonAssignmentgerman772021-12-061-0/+2
| | | | Used by ring fit adventure 1.2.0
* core/hid: Improve accuary of mouse implementationgerman772021-11-251-2/+2
|
* core/hid: Improve accuracy of the keyboard implementationgerman772021-11-251-0/+2
|
* service/hid: Remove includes of core.h and settings.hgerman772021-11-251-2/+2
|
* service/hid: Use remove duplicated code, update namesgerman772021-11-251-27/+0
|
* hid: Stub SetTouchScreenConfigurationgerman772021-09-101-0/+1
|
* hle: service: Add a helper module for managing kernel objects.bunnei2021-07-211-1/+12
|
* hid: Stub IsFirmwareUpdateAvailableForSixAxisSensorgerman772021-06-111-0/+1
|
* hle: kernel: Migrate KSharedMemory to KAutoObject.bunnei2021-05-061-6/+0
|
* service: hid: Stub SetAnalogStickUseCenterClampMorph2021-04-081-0/+1
| | | | - Used by eBASEBALLパワフルプロ野球2020
* Merge pull request #5953 from bunnei/memory-refactor-1bunnei2021-02-271-2/+2
|\ | | | | Kernel Rework: Memory updates and refactoring (Part 1)
| * hle: kernel: Rename SharedMemory to KSharedMemory.bunnei2021-02-191-2/+2
| |
* | hid: Implement GameCube Controller VibrationsMorph2021-02-211-0/+10
|/ | | | Implements both SendVibrationGcErmCommand and GetActualVibrationGcErmCommand, and modifies GetVibrationDeviceInfo to account for additional controllers.
* Adds missing controller types and propertiesgerman2021-02-041-4/+6
|
* Stub Set/Get/Reset SixaxisSensorFusionParametersgerman2021-01-241-0/+3
|
* Merge pull request #5021 from german77/StubCommunicationModebunnei2020-11-291-0/+2
|\ | | | | HID: Stub set and get NpadCommunicationMode
| * Stub set and get NpadCommunicationModegerman2020-11-271-0/+2
| |
* | service: Eliminate usages of the global system instanceLioncash2020-11-271-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 IsVibrationDeviceMountedMorph2020-11-161-0/+1
| | | | - Used in Super Mario Odyssey
* hid: Reorder all HID commandsMorph2020-11-161-10/+10
| | | | Reorders all HID commands in command id order.
* hid: Implement GetVibrationDeviceInfoMorph2020-11-161-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-stubbunnei2020-10-071-0/+2
|\ | | | | hid: Stub HomeButtonInputProtection service commands
| * hid: Stub HomeButtonInputProtection service commandsMorph2020-09-301-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/motionfusionbunnei2020-10-021-0/+1
|\ \ | |/ |/| HID: Add Stub for EnableSixAxisSensorFusion
| * Stubbed EnableSixAxisSensorFusiongerman2020-09-301-0/+1
| |
* | Use different timing for motiongerman2020-09-241-0/+2
|/
* Include HID and configuration changes related to motiongerman2020-09-051-0/+2
|
* core_timing: Make use of uintptr_t to represent user_dataLioncash2020-07-281-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::nanosecondsLioncash2020-07-161-4/+3
| | | | Enforces our desired time units directly with a concrete type.
* Merge pull request #4141 from Morph1984/SevenSixAxisSensorDavid2020-06-251-4/+9
|\ | | | | hid: Stub a series of "SevenSixAxisSensor" service commands
| * hid: Stub a series of "SevenSixAxisSensor" service commandsMorph2020-06-241-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/ResetGyroscopeZeroDriftModeMorph2020-06-211-0/+2
|/ | | | - Used by Captain Toad Treasure Tracker
* hid: Stub GetXpadIDsVolcaEM2020-06-011-0/+1
| | | Allows Minecraft: Nintendo Switch Edition (a.k.a. old Minecraft) to boot and go ingame
* Stub SendKeyboardLockKeyEventDavid Marcec2020-05-111-0/+1
| | | | Needed for Puchikon 4 SmileBASIC 1.0.0
* services: hid: Stub StopSevenSixAxisSensor.M&M2020-04-261-0/+1
| | | | - Used by The Legend of Zelda: Breath of the Wild v1.6.0
* services: hid: Stub InitializeSevenSixAxisSensor.bunnei2020-03-271-0/+1
| | | | - Used by Super Smash Bros. Ultimate v7.0.0.
* core_timing: Use better reference tracking for EventType. (#3159)bunnei2019-11-271-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)bunnei2019-11-251-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/hidDavid2019-11-061-6/+8
|\ | | | | hid: Stub SetNpadJoyAssignmentModeSingle and GetNpadHandheldActivationMode
| * hid: Stub SetNpadJoyAssignmentModeSingle and reorganize service commandsMorph2019-10-071-6/+8
| |
* | hid: Implement DeactivateNpadMorph2019-10-071-0/+1
|/ | | | Makes use of the already existing DeactivateController function.
* RebaseDavid Marcec2019-09-221-3/+3
|
* Deglobalize System: HidDavid Marcec2019-09-221-3/+5
|
* Update hid.hMorph19842019-09-041-0/+2
|
* hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignmentDavid Marcec2019-07-011-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 consistentLioncash2019-03-241-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 VMManagerZach Hilman2019-03-051-0/+2
|
* controllers/npad: Add accessor for current press stateZach Hilman2019-03-051-0/+1
| | | | Allows frontend/features to access pressed buttons conveniently as possible
* service/hid: Amend forward declaration of ServiceManagerLioncash2019-02-271-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::TimingLioncash2019-02-121-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 Qt5WebEngineZach Hilman2018-12-291-2/+2
|
* hid: Make Hid service accessible and add GetPressStateZach Hilman2018-12-281-0/+110
|
* "Better Hid" rework part 1David Marcec2018-10-101-399/+3
|
* hid: Move core include to cpp fileLioncash2018-08-241-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 arrayLioncash2018-07-191-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_AUTOshinyquagsire232018-06-121-1/+1
|
* Fix deadlocks caused from HID having too many layoutsDavid Marcec2018-05-241-1/+1
| | | | Games such as SMO deadlock if we have more than 2 layouts
* hid: Tweaks, Analog Sticks (#435)Max Thomas2018-05-071-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 applicableLioncash2018-04-201-4/+2
| | | | Tidies up namespace declarations
* hid: Adjust for style guideshinyquagsire232018-01-171-50/+55
|
* hid: Write to all layouts, implement circular buffers, set up controller metadata.shinyquagsire232018-01-161-1/+6
|
* hid: Bare-minimum sharedmem inputshinyquagsire232018-01-151-2/+2
|
* hid: Remove redundant HID prefix on structs/enumsshinyquagsire232018-01-151-73/+73
|
* hid: Add sharedmem structsshinyquagsire232018-01-151-0/+312
|
* hid: Implement IAppletResource::GetSharedMemoryHandle.bunnei2018-01-151-7/+6
|
* Remove lots more 3DS-specific code.bunnei2017-10-131-263/+3
|
* HID: zero unused PadState bitswwylele2017-08-101-1/+1
|
* ir: implement new 3ds HID via ir:rstwwylele2017-05-041-0/+10
|
* Input: remove unused stuff & clean upwwylele2017-03-011-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 ButtonDevicewwylele2017-03-011-0/+3
|
* hid: remove the touch field from PadState (#2557)Weiyi Wang2017-02-111-4/+0
|
* HID: manages updating itself using correct tickswwylele2017-01-161-3/+0
|
* Remove empty newlines in #include blocks.Emmanuel Gil Peyrot2016-09-211-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 Peyrot2016-09-181-35/+34
|
* Refactor input subsystemwwylele2016-05-151-3/+0
|
* implement GyroscopeCalibrateParamwwylele2016-03-251-1/+13
|
* implement accel and gyro backendwwylele2016-03-221-0/+66
|
* Move input values into an arrayJames Rowe2015-07-281-1/+4
|
* Common: Cleanup key_map includes.Emmanuel Gil Peyrot2015-06-281-7/+9
|
* HID: Stub DisableAccelerometer and DisableGyroscopeLowpurpasmart962015-05-231-5/+23
|
* Services: Stubs and minor changespurpasmart962015-04-031-3/+3
|
* HID: Proper Signal Interrupts for EnableAccelerometer & EnableGyroscopeLow alongpurpasmart962015-03-171-1/+29
| | | | with a stub for GetSoundVolume
* HID: Removed unnecessary global variables.bunnei2015-03-111-10/+0
|
* HID: Added additional variable comments and some code cleanups.bunnei2015-03-111-18/+23
|
* HID: Complete refactor of pad/touch input to fix threading issues.bunnei2015-03-111-30/+5
|
* HID: Changed TouchDataEntry `valid` to a BitField and added some doc strings.bunnei2015-03-101-3/+3
|
* HID: Added static asserts to check register position in shared memory.bunnei2015-03-101-2/+16
|
* HID: Added functions to emulate the touchpad.bunnei2015-03-101-0/+13
|
* HID: Moved some docstrings to the header.bunnei2015-03-101-1/+14
|
* HID: Refactored shared memory decoding for touchpad support.bunnei2015-03-101-12/+34
|
* Services: Moved the PTM and APT services to their own folderSubv2015-03-041-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 Peyrot2015-02-221-0/+19
|
* Kernel: Convert Event to not use HandlesYuri Kunde Schlesner2015-01-301-5/+6
|
* Kernel: Convert SharedMemory to not use HandlesYuri Kunde Schlesner2015-01-301-1/+5
|
* Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxxarchshift2015-01-211-0/+111