aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid
AgeCommit message (Collapse)Author
2020-10-27service: Update function tablesLioncash
Updates function tables according to info on SwitchBrew.
2020-10-20Revert "core: Fix clang build"bunnei
2020-10-17core: Fix clang buildLioncash
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
2020-10-13core/CMakeLists: Make some warnings errorsLioncash
Makes our error coverage a little more consistent across the board by applying it to Linux side of things as well. This also makes it more consistent with the warning settings in other libraries in the project. This also updates httplib to 0.7.9, as there are several warning cleanups made that allow us to enable several warnings as errors.
2020-10-07Merge pull request #4736 from Morph1984/home-button-input-protection-stubbunnei
hid: Stub HomeButtonInputProtection service commands
2020-10-05Merge pull request #4742 from german77/InputFilterbunnei
HID: Only use inputs corresponding to controller type
2020-10-01Merge pull request #4734 from german77/motionfusionbunnei
HID: Add Stub for EnableSixAxisSensorFusion
2020-10-01Only use inputs corresponding to controller typegerman
2020-09-30Stubbed EnableSixAxisSensorFusiongerman
2020-09-30Merge pull request #4291 from german77/ImplementControllerRumbleDavid
input_common: First implementation of controller rumble
2020-09-30hid: Stub HomeButtonInputProtection service commandsMorph
- 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-29First implementation of controller rumblegerman
2020-09-23Use different timing for motiongerman
2020-09-20Merge pull request #4683 from Morph1984/NpadHandheldActivationMode-implbunnei
hid: Implement Get/SetNpadHandheldActivationMode
2020-09-19Merge pull request #4643 from FearlessTobi/decrease-pad-update-intervalbunnei
Test: Decrease pad_update_ns
2020-09-18hid: Implement Get/SetNpadHandheldActivationModeMorph
- Used in Clubhouse Games: 51 Worldwide Classics
2020-09-17Merge pull request #4594 from german77/MotionHIDbunnei
hid/configuration: Implement motion controls to HID
2020-09-10Merge pull request #4597 from Morph1984/mjolnir-p2bunnei
Project Mjölnir: Part 2 - Controller Applet
2020-09-10Test: Decrease pad_update_nsFearlessTobi
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.
2020-09-05configure_input: Hook up the motion button and checkboxMorph
This allows toggling motion on or off, and allows access to the motion configuration. Also changes the [waiting] text for motion buttons to Shake! as this is how motion is connected to a player.
2020-09-04Add cemu hook changes related to PR #4609german
2020-09-04Remove RealMotionDevicegerman
2020-09-04controllers/npad: Simplify motion entry assignmentMorph
Simplifies the motion assignment in the Dual Joycon entry and assigns index 1 of the motion entry (Motion 2) for the right joycon.
2020-09-04Include HID and configuration changes related to motiongerman
2020-09-04hid: Implement MergeSingleJoyasDualJoyMorph
- Used in multiple games such as Super Mario Odyssey.
2020-09-04applets/controller: Implement fallback applet for the SDL frontendMorph
Implement the fallback applet for the SDL frontend, connecting only the minimum amount of players required.
2020-09-04Project Mjölnir: Part 2 - Controller AppletMorph
Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-29yuzu: Add motion and touch configurationFearlessTobi
2020-08-26controllers/npad: Fix inconsistencies with controller connection statusesMorph
2020-08-26controllers/npad: Fix LibNX controller connection statusesMorph
This allows homebrew applications to be able to properly detect connected controllers.
2020-08-26controllers/npad: Fix LedPattern for P1-4Morph
2020-08-26Project Mjölnir: Part 1Morph
Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-14core: Resolve several -Wextra-semi warningsLioncash
We can amend one of the cascade macros to require semicolons in order to compile. In other cases, we can just remove the superfluous semicolons.
2020-07-27core_timing: Make use of uintptr_t to represent user_dataLioncash
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.
2020-07-25Merge pull request #4350 from ogniK5377/hid-update-connectedbunnei
hid: Only update keyboard & debug pad inputs if enabled
2020-07-16hid: Only update keyboard & debug pad inputs if enabledDavid Marcec
Previously we would ignore this setting and would update the states regardless of the user setting
2020-07-15core_timing: Make TimedCallback take std::chrono::nanosecondsLioncash
Enforces our desired time units directly with a concrete type.
2020-07-15core_timing: Make use of std::chrono with ScheduleEventLioncash
2020-06-27General: Recover Prometheus project from harddrive failure Fernando Sahmkow
This commit: Implements CPU Interrupts, Replaces Cycle Timing for Host Timing, Reworks the Kernel's Scheduler, Introduce Idle State and Suspended State, Recreates the bootmanager, Initializes Multicore system.
2020-06-25Merge pull request #4141 from Morph1984/SevenSixAxisSensorDavid
hid: Stub a series of "SevenSixAxisSensor" service commands
2020-06-24hid: Stub a series of "SevenSixAxisSensor" service commandsMorph
- Used by Captain Toad: Treasure Tracker Update 1.3.0 While we're at it, fix the input parameters for SetIsPalmaAllConnectable and SetPalmaBoostMode
2020-06-21hid: Implement Get/ResetGyroscopeZeroDriftModeMorph
- Used by Captain Toad Treasure Tracker
2020-06-01Clang-formatVolcaEM
2020-06-01hid: Stub GetXpadIDsVolcaEM
Allows Minecraft: Nintendo Switch Edition (a.k.a. old Minecraft) to boot and go ingame
2020-05-19Merge pull request #3926 from ogniK5377/keyboard-statesbunnei
hid: Clear keyboard states & fix logic issue
2020-05-12hid: Clear keyboard states & fix logic issueDavid Marcec
Previously we never cleared the states of the entries and the key would stay held down, also looping over the key bytes for each key lead to setting every bit for the key state instead of the key we wanted
2020-05-12Stub SendKeyboardLockKeyEventDavid Marcec
Needed for Puchikon 4 SmileBASIC 1.0.0
2020-04-27Merge pull request #3797 from slashiee/hid-stubMat M
services: hid: Stub StopSevenSixAxisSensor.
2020-04-25services: hid: Stub StopSevenSixAxisSensor.M&M
- Used by The Legend of Zelda: Breath of the Wild v1.6.0
2020-04-20service: Update function tablesLioncash
Keeps the service function tables up to date. Updated based off information on SwitchBrew.