Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | service: set: Implement stubbed functions | Narr the Reg | 2024-01-16 | 1 | -1/+1 |
| | |||||
* | kernel: fix debugger and process list lifetime | Liam | 2024-01-13 | 1 | -6/+4 |
| | |||||
* | service: hid: Create abstracted pad structure | german77 | 2024-01-12 | 1 | -1/+1 |
| | |||||
* | Fix typos in src/core (#12625) | Viktor Szépe | 2024-01-08 | 3 | -11/+11 |
| | | | | | | | | | * Fix typos in src/core * Fix typo correction * Fix indentation of MemoryStateNames * Fix indent | ||||
* | service: hid: Implement GetLastActiveNpad | german77 | 2024-01-07 | 1 | -3/+6 |
| | |||||
* | service: hid: Implement AssigningSingleOnSlSrPress | german77 | 2024-01-07 | 1 | -2/+12 |
| | |||||
* | service: hid: Implement SetNpadSystemExtStateEnabled | german77 | 2024-01-07 | 3 | -8/+20 |
| | |||||
* | service: hid: Implement CaptureButtonAssignment | german77 | 2024-01-07 | 3 | -8/+34 |
| | |||||
* | service: hid: Add functions needed by Qlaunch | Narr the Reg | 2024-01-06 | 2 | -6/+60 |
| | |||||
* | hid_core: Move hid to it's own subproject | Narr the Reg | 2024-01-05 | 87 | -9702/+45 |
| | |||||
* | service: hid: Remove data races when handling shared memory | Narr the Reg | 2024-01-04 | 17 | -29/+45 |
| | |||||
* | service: hid: Implement NpadResource and NpadData | Narr the Reg | 2024-01-04 | 17 | -676/+1925 |
| | |||||
* | Merge pull request #12536 from german77/npad_interface | liamwhite | 2024-01-01 | 36 | -227/+698 |
|\ | | | | | service: hid: Use applet resource to get latest shared memory handle | ||||
| * | service: hid: Use applet resource to get latest shared memory handle | Narr the Reg | 2023-12-31 | 36 | -227/+698 |
| | | |||||
* | | Merge pull request #12454 from liamwhite/ct-stuff | Narr the Reg | 2024-01-01 | 4 | -31/+29 |
|\ \ | |/ |/| | core_timing: minor refactors | ||||
| * | core_timing: remove user data value | Liam | 2023-12-23 | 4 | -31/+29 |
| | | |||||
* | | service: fetch objects from the client handle table | Liam | 2023-12-25 | 3 | -12/+6 |
|/ | |||||
* | service: hid: Fix crash on InitializeVibrationDevice | Narr the Reg | 2023-12-21 | 1 | -1/+1 |
| | |||||
* | core: hid: Clean up headers | Narr the Reg | 2023-12-14 | 20 | -36/+16 |
| | |||||
* | service: hid: Allow to create multiple instances of shared memory | Narr the Reg | 2023-12-14 | 37 | -819/+1057 |
| | |||||
* | service: hid: Improve CreateAppletResource implementation and free resources | german77 | 2023-12-10 | 6 | -13/+149 |
| | |||||
* | service: hid: Introduce proper AppletResource emulation | Narr the Reg | 2023-12-07 | 9 | -13/+524 |
| | |||||
* | Fixed controller applet crashing when on FW17+ | FrozenAra | 2023-11-27 | 4 | -3/+30 |
| | |||||
* | service: hid: Create appropriate hid resources | Narr the Reg | 2023-11-21 | 28 | -1338/+1575 |
| | |||||
* | Merge pull request #12011 from Macj0rdan/controller-applet | Narr the Reg | 2023-11-20 | 5 | -56/+352 |
|\ | | | | | Implemented qlaunch version of the controller applet | ||||
| * | Implemented qlaunch version of the controller applet | FrozenAra | 2023-11-19 | 5 | -56/+352 |
| | | |||||
* | | service: hid: Ensure resource manager is initialized | Squall-Leonhart | 2023-11-20 | 1 | -1/+1 |
|/ | | | | | | Ensures the proper initialization of the IActiveVibrationDeviceList. By using GetResourceManager() instead of resource_manager, we make sure that the IActiveVibrationDeviceListis initialized before it's used, preventing potential null issues. Fixes #12088 | ||||
* | service: hid: Introduce firmware settings and update activate controller calls | Narr the Reg | 2023-11-17 | 11 | -54/+293 |
| | |||||
* | service: hid: Implement xpad calls | Narr the Reg | 2023-11-16 | 2 | -36/+139 |
| | |||||
* | Merge pull request #12038 from german77/no_implement | liamwhite | 2023-11-16 | 11 | -3055/+3252 |
|\ | | | | | service: hid: Split hid.cpp into individual interfaces | ||||
| * | service: hid: Split hid.cpp into individual interfaces | Narr the Reg | 2023-11-15 | 11 | -3055/+3252 |
| | | |||||
* | | core: hid: Split SL and SR buttons | german77 | 2023-11-12 | 1 | -2/+4 |
|/ | |||||
* | service: irs: Implement moment image processor | Narr the Reg | 2023-11-11 | 6 | -17/+169 |
| | |||||
* | service: hid: Silence EnableUnintendedHomeButtonInputProtection | german77 | 2023-11-04 | 1 | -7/+5 |
| | |||||
* | Merge pull request #11948 from german77/hard_ring | liamwhite | 2023-11-03 | 1 | -3/+3 |
|\ | | | | | service: hid: Ensure GetNextEntryIndex can't fail | ||||
| * | service: hid: Ensure GetNextEntryIndex can't fail | german77 | 2023-11-03 | 1 | -3/+3 |
| | | |||||
* | | core: hid: Fix wrong battery values | german77 | 2023-11-03 | 1 | -3/+3 |
|/ | |||||
* | core: Close all KEvents | german77 | 2023-10-29 | 3 | -2/+11 |
| | |||||
* | service: hid: Set last connected controller as active | german77 | 2023-09-24 | 1 | -0/+1 |
| | |||||
* | Merge pull request #11519 from german77/system-policy | liamwhite | 2023-09-16 | 4 | -8/+52 |
|\ | | | | | service: hid: Implement ApplyNpadSystemCommonPolicy | ||||
| * | service: hid: Implement ApplyNpadSystemCommonPolicy | german77 | 2023-09-16 | 4 | -8/+52 |
| | | |||||
* | | hid: service: Remove outdated field from npad | german77 | 2023-09-16 | 2 | -27/+14 |
| | | |||||
* | | hid: service: Implement Last active Npad | german77 | 2023-09-16 | 2 | -1/+5 |
| | | |||||
* | | service: hid: Ensure state is correct | german77 | 2023-09-16 | 1 | -8/+8 |
|/ | |||||
* | general: Use console mode helper across project | lat9nq | 2023-08-23 | 2 | -2/+2 |
| | |||||
* | general: Convert use_docked_mode to an enumeration | lat9nq | 2023-08-22 | 2 | -2/+2 |
| | | | | Allows some special interactions with it in the Qt frontend. | ||||
* | service: hid: Implement functions needed by QLaunch | Narr the Reg | 2023-08-11 | 2 | -24/+60 |
| | |||||
* | core_timing: Use CNTPCT as the guest CPU tick | Morph | 2023-06-08 | 1 | -1/+0 |
| | | | | | Previously, we were mixing the raw CPU frequency and CNTFRQ. The raw CPU frequency (1020 MHz) should've never been used as CNTPCT (whose frequency is CNTFRQ) is the only counter available. | ||||
* | service: hid: Use span instead of vector reference | german77 | 2023-05-15 | 3 | -14/+14 |
| | |||||
* | core: hid: Update motion on a better place | german77 | 2023-05-08 | 1 | -2/+2 |
| | |||||
* | service: hid: Fix handle validation | german77 | 2023-04-02 | 1 | -5/+1 |
| | |||||
* | Merge pull request #9999 from german77/new_hid_hurra | liamwhite | 2023-04-01 | 4 | -22/+56 |
|\ | | | | | service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestination | ||||
| * | service: hid: Implement SetNpadJoyAssignmentModeSingleWithDestination | german77 | 2023-03-30 | 4 | -22/+56 |
| | | | | | | | | Used by Let's Get Fit | ||||
* | | Merge pull request #10003 from german77/disconnect | liamwhite | 2023-03-28 | 1 | -1/+2 |
|\ \ | | | | | | | service: hid: Silence warning on MergeSingleJoyAsDualJoy | ||||
| * | | service: hid: Silence warning on MergeSingleJoyAsDualJoy | Narr the Reg | 2023-03-27 | 1 | -1/+2 |
| |/ | |||||
* / | memory: rename global memory references to application memory | Liam | 2023-03-24 | 3 | -12/+13 |
|/ | |||||
* | kernel: use KTypedAddress for addresses | Liam | 2023-03-22 | 8 | -16/+16 |
| | |||||
* | general: fix spelling mistakes | Liam | 2023-03-12 | 3 | -3/+3 |
| | |||||
* | hid: Use nanosecond timestamps instead of ticks | Morph | 2023-03-08 | 2 | -5/+5 |
| | |||||
* | service: move hle_ipc from kernel | Liam | 2023-03-01 | 6 | -288/+288 |
| | |||||
* | Merge pull request #9832 from liamwhite/hle-mp | liamwhite | 2023-03-01 | 2 | -10/+14 |
|\ | | | | | service: HLE multiprocess | ||||
| * | service: refactor server architecture | Liam | 2023-02-21 | 2 | -10/+14 |
| | | | | | | | | Converts services to have their own processes | ||||
* | | Merge pull request #9859 from liamwhite/tmem-use | liamwhite | 2023-02-28 | 20 | -69/+91 |
|\ \ | | | | | | | service: avoid direct pointer access of transfer memory objects | ||||
| * | | hid: avoid direct pointer access of transfer memory objects | Liam | 2023-02-24 | 20 | -69/+91 |
| | | | |||||
* | | | Merge pull request #9857 from german77/fwupdate | liamwhite | 2023-02-25 | 2 | -0/+7 |
|\ \ \ | | | | | | | | | core: Update service function tables to 16.0.0+ | ||||
| * | | | core: Update service function tables to 16.0.0+ | Narr the Reg | 2023-02-25 | 2 | -0/+7 |
| |/ / | |||||
* / / | core: hidbus: Fix BusType size | Narr the Reg | 2023-02-25 | 2 | -15/+15 |
|/ / | |||||
* / | core: hid: Fix native mouse mappings | Narr the Reg | 2023-02-22 | 3 | -1/+12 |
|/ | |||||
* | Merge pull request #9796 from liamwhite/current | liamwhite | 2023-02-15 | 3 | -10/+10 |
|\ | | | | | general: rename CurrentProcess to ApplicationProcess | ||||
| * | general: rename CurrentProcess to ApplicationProcess | Liam | 2023-02-14 | 3 | -10/+10 |
| | | |||||
* | | service: remove deleted services | Liam | 2023-02-14 | 1 | -14/+0 |
|/ | |||||
* | core: hid: Use gyro thresholds modes set by the game | Narr the Reg | 2023-02-10 | 3 | -15/+12 |
| | |||||
* | service: hid: Return error if arguments of SetSupportedNpadIdType is invalid | Narr the Reg | 2023-02-08 | 4 | -6/+15 |
| | |||||
* | Revert "Merge pull request #9718 from yuzu-emu/revert-9508-hle-ipc-buffer-span" | ameerj | 2023-02-03 | 10 | -12/+16 |
| | | | | | This reverts commit 25fc5c0e1158cb8e81cbc769b24ad84032a1fbfd, reversing changes made to af20e25081f97d55b451606c87922e2b49f0d363. | ||||
* | Revert "hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer" | liamwhite | 2023-02-02 | 10 | -16/+12 |
| | |||||
* | Merge pull request #9696 from german77/please_forgive_me_for_this_sin | bunnei | 2023-02-01 | 1 | -0/+3 |
|\ | | | | | input_common: Implement turbo buttons | ||||
| * | input_common: Implement turbo buttons | german77 | 2023-02-01 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #9508 from ameerj/hle-ipc-buffer-span | bunnei | 2023-01-30 | 10 | -12/+16 |
|\ \ | |/ |/| | hle_ipc: Use std::span to avoid heap allocations/copies when calling ReadBuffer | ||||
| * | hle_ipc: Rename ReadBufferSpan to ReadBuffer | ameerj | 2022-12-29 | 2 | -5/+5 |
| | | |||||
| * | hidbus: Use ReadBufferSpan | ameerj | 2022-12-29 | 11 | -12/+16 |
| | | |||||
| * | service: Use ReadBufferSpan where it is trivial to do so | ameerj | 2022-12-25 | 3 | -6/+6 |
| | | |||||
* | | core: hid: Only set the polling mode to the correct side | Narr the Reg | 2023-01-20 | 3 | -12/+35 |
| | | |||||
* | | input_common: Fix issue where ring and irs are enabled at the same time | german77 | 2023-01-20 | 1 | -3/+1 |
| | | |||||
* | | input_common: Implement joycon ir camera | Narr the Reg | 2023-01-20 | 1 | -0/+11 |
| | | |||||
* | | core: hid: Fix input regressions | Narr the Reg | 2023-01-20 | 2 | -12/+13 |
| | | |||||
* | | service: hid: Set led pattern and fix color detection | Narr the Reg | 2023-01-20 | 1 | -0/+5 |
| | | |||||
* | | core: hid: Migrate ring from emulated devices to emulated controller | Narr the Reg | 2023-01-20 | 2 | -4/+6 |
|/ | |||||
* | service: hid: Only overclock npad controllers | german77 | 2022-11-19 | 2 | -6/+30 |
| | |||||
* | Merge pull request #9107 from german77/gidoly_rules | liamwhite | 2022-10-25 | 1 | -2/+2 |
|\ | | | | | input_common: cache vibration tests | ||||
| * | input_common: cache vibration tests | german77 | 2022-10-21 | 1 | -2/+2 |
| | | |||||
* | | general: Enforce C4800 everywhere except in video_core | Morph | 2022-10-22 | 1 | -10/+10 |
| | | |||||
* | | hid/npad: Fix copy size in GetSupportedNpadIdTypes | Lioncash | 2022-10-21 | 1 | -2/+3 |
|/ | | | | | | | | Previously this was passing the size of the vector into memcpy rather than the size in bytes to copy, which would result in a partial read. Thankfully, this function isn't used yet, so this gets rid of a bug before it's able to do anything. | ||||
* | general: Fix spelling of "unknown" | Morph | 2022-10-16 | 2 | -3/+3 |
| | |||||
* | kernel: remove KWritableEvent | Liam | 2022-10-13 | 3 | -15/+14 |
| | |||||
* | Merge pull request #8876 from FearlessTobi/multiplayer-part3 | bunnei | 2022-10-01 | 1 | -1/+2 |
|\ | | | | | ldn: Implement "local wireless" networked multiplayer | ||||
| * | yuzu: Multiple room UI improvements | german77 | 2022-09-10 | 1 | -1/+2 |
| | | |||||
* | | Merge pull request #8934 from german77/palma_release | bunnei | 2022-09-29 | 6 | -33/+840 |
|\ \ | | | | | | | service: hid: Partially implement palma controller | ||||
| * | | service: hid: Partially implement palma controller | Narr the Reg | 2022-09-25 | 6 | -33/+840 |
| |/ | |||||
* / | yuzu: Silence some clang warnings | Narr the Reg | 2022-09-21 | 1 | -1/+2 |
|/ | |||||
* | Demote services from warning/info to debug to reduce log spam: | Kelebek1 | 2022-09-01 | 1 | -7/+7 |
| | | | | | | | | | | | GetCurrentFocusState SetClockSpeed EnableSixAxisSensorUnalteredPassthrough IsSixAxisSensorUnalteredPassthroughEnabled Get, GetOld SetAndWait, SetAndWaitOld IocParam IocFree | ||||
* | hid: core: Add missing function table names | german77 | 2022-08-22 | 1 | -0/+6 |
| | |||||
* | hid: core: Properly emulate controller color and battery level | Narr the Reg | 2022-08-08 | 1 | -15/+62 |
| | |||||
* | Address comments | Narr the Reg | 2022-07-25 | 1 | -16/+16 |
| | |||||
* | fix compiler errors | german77 | 2022-07-24 | 2 | -12/+14 |
| | |||||
* | service: irs: Implement clustering processor | german77 | 2022-07-24 | 4 | -6/+318 |
| | |||||
* | yuzu: Add webcam support and rebase to latest master | Narr the Reg | 2022-07-24 | 3 | -4/+4 |
| | |||||
* | service: irs: Move to IRS namespace and minor fixes | german77 | 2022-07-24 | 18 | -69/+66 |
| | |||||
* | service: irs: Split processors and implement ImageTransferProcessor | german77 | 2022-07-24 | 17 | -291/+1077 |
| | |||||
* | Merge pull request #8510 from german77/vibration | liamwhite | 2022-07-15 | 1 | -2/+2 |
|\ | | | | | input_common: sdl: lower vibration frequency and use it's own unique thread | ||||
| * | input_common: sdl: lower vibration frequency and use it's own unique thread | german77 | 2022-06-29 | 1 | -2/+2 |
| | | |||||
* | | PR | Kelebek1 | 2022-07-10 | 2 | -5/+4 |
| | | |||||
* | | Rework CoreTiming | Kelebek1 | 2022-07-10 | 2 | -38/+20 |
| | | |||||
* | | service: hid: Correct some mistakes and add more validations | Narr the Reg | 2022-06-29 | 4 | -40/+75 |
|/ | |||||
* | core: Replace all instances of ResultCode with Result | german77 | 2022-06-27 | 5 | -74/+73 |
| | |||||
* | common: Change semantics of UNREACHABLE to unconditionally crash | Liam | 2022-06-14 | 2 | -5/+5 |
| | |||||
* | service: hid: Fix gesture regression | Narr the Reg | 2022-06-10 | 2 | -4/+3 |
| | |||||
* | service: hid: Improve stub of IRS | Narr the Reg | 2022-05-31 | 2 | -21/+460 |
| | |||||
* | Merge pull request #8368 from german77/seventimes | bunnei | 2022-05-30 | 5 | -368/+600 |
|\ | | | | | Service: hid: Several improvements and implementations | ||||
| * | service: hid: Implement ResetIsSixAxisSensorDeviceNewlyAssigned | german77 | 2022-05-27 | 4 | -6/+115 |
| | | | | | | | | Needed by Nintendo Switch Sports | ||||
| * | service: hid: Implement LoadSixAxisSensorCalibrationParameter and GetSixAxisSensorIcInformation | german77 | 2022-05-27 | 4 | -3/+103 |
| | | | | | | | | Needed by Nintendo Switch Sports | ||||
| * | service: hid: Implement EnableSixAxisSensorUnalteredPassthrough and IsSixAxisSensorUnalteredPassthroughEnabled | german77 | 2022-05-27 | 4 | -2/+88 |
| | | | | | | | | Needed by Nintendo Switch Sports | ||||
| * | service: hid: Add error handling to sixaxis functions | german77 | 2022-05-27 | 3 | -31/+55 |
| | | |||||
| * | service: hid: Refractor sixaxis functions | german77 | 2022-05-27 | 2 | -185/+88 |
| | | |||||
| * | service: hid: Implement MergeSingleJoyAsDualJoy according to RE | german77 | 2022-05-27 | 4 | -65/+57 |
| | | |||||
| * | service: hid: Add error handling to setNpadAssignment and variants | german77 | 2022-05-27 | 3 | -23/+27 |
| | | |||||
| * | service: hid: Quick RE fixes and comments | german77 | 2022-05-27 | 4 | -54/+68 |
| | | |||||
* | | input_common: touch: Rewrite touch driver to support multiple touch points | german77 | 2022-05-23 | 1 | -1/+5 |
|/ | |||||
* | service: hid: Fix motion refresh rate | Narr the Reg | 2022-05-06 | 2 | -2/+6 |
| | |||||
* | service: hid: Disable correctly motion input | german77 | 2022-05-06 | 1 | -50/+41 |
| | |||||
* | Merge pull request #8274 from german77/firmware | Morph | 2022-04-29 | 2 | -1/+21 |
|\ | | | | | service: hid: Stub IsFirmwareUpdateNeededForNotification | ||||
| * | service: hid: Stub IsFirmwareUpdateNeededForNotification | german77 | 2022-04-27 | 2 | -1/+21 |
| | | | | | | | | Used in Fitness Boxing 2: Rhythm & Exercise (0100073011382000) | ||||
* | | service: hid: Ensure all structs are initialized | Narr the Reg | 2022-04-24 | 15 | -68/+69 |
| | | |||||
* | | service: hid: Access shared memory directly | Narr the Reg | 2022-04-23 | 21 | -305/+347 |
|/ | |||||
* | general: Convert source file copyright comments over to SPDX | Morph | 2022-04-23 | 38 | -114/+76 |
| | | | | | 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 | 5 | -97/+360 |
| | |||||
* | yuzu: Add custom ringcon configuration | german77 | 2022-04-16 | 5 | -64/+54 |
| | |||||
* | hidbus: Implement hidbus and ringcon | german77 | 2022-04-16 | 11 | -26/+1645 |
| | |||||
* | core/hle: Replace lock_guard with scoped_lock | Merry | 2022-04-07 | 1 | -1/+1 |
| | |||||
* | service: hid: Partially revert #8123 | german77 | 2022-04-06 | 1 | -0/+4 |
| | |||||
* | Merge pull request #8123 from german77/bombslinger | bunnei | 2022-04-03 | 3 | -66/+69 |
|\ | | | | | service: hid: Remove inaccurate behavior on initialization | ||||
| * | service: npad: Default initialize shared memory | german77 | 2022-04-03 | 1 | -48/+48 |
| | | |||||
| * | service: hid: Remove inaccurate behavior on initialization | german77 | 2022-03-31 | 3 | -18/+21 |
| | | |||||
* | | service: hid: Signal event on AcquireNpadStyleSetUpdateEventHandle | Narr the Reg | 2022-03-31 | 1 | -0/+4 |
|/ | |||||
* | core: Reduce unused includes | ameerj | 2022-03-19 | 10 | -20/+2 |
| | |||||
* | hid: Stub IsUsbFullKeyControllerEnabled | lat9nq | 2022-02-12 | 2 | -1/+12 |
| | | | | | | 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. | ||||
* | Merge pull request #7481 from german77/gyro-bias | bunnei | 2021-12-21 | 2 | -14/+16 |
|\ | | | | | service/hid: Improve console motion accuracy | ||||
| * | service/hid: Improve console motion accuracy | Narr the Reg | 2021-12-13 | 2 | -14/+16 |
| | | |||||
* | | core/hid: Cancel any vibration after the test | Narr the Reg | 2021-12-16 | 3 | -11/+5 |
| | | |||||
* | | Merge pull request #7521 from german77/dual_single_joycons | bunnei | 2021-12-08 | 3 | -38/+161 |
|\ \ | |/ |/| | service/hid: Implement SetNpadJoyAssignmentMode | ||||
| * | service/hid: Implement SetNpadJoyAssignmentMode | german77 | 2021-12-05 | 3 | -38/+161 |
| | | |||||
* | | service/hid: Stub SetNpadCaptureButtonAssignment and ClearNpadCaptureButtonAssignment | german77 | 2021-12-06 | 2 | -2/+35 |
|/ | | | | Used by ring fit adventure 1.2.0 | ||||
* | core/hid: Ensure only valid npad are connected | german77 | 2021-12-05 | 1 | -17/+13 |
| | |||||
* | npad: Return NpadButton in GetAndResetPressState | Morph | 2021-11-30 | 2 | -5/+5 |
| | | | | 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. | ||||
* | general: Fix handheld typo | Morph | 2021-11-29 | 1 | -1/+1 |
| | |||||
* | Merge pull request #7438 from german77/homebrew2 | bunnei | 2021-11-28 | 1 | -1/+13 |
|\ | | | | | Core: Stub services and functions needed for checkpoint | ||||
| * | core/hid: Stub GetUniquePadsFromNpad | Narr the Reg | 2021-11-27 | 1 | -1/+13 |
| | | | | | | | | Used in checkpoint homebrew | ||||
* | | settings: Add debug setting to enable all controllers | german77 | 2021-11-28 | 1 | -0/+4 |
|/ | |||||
* | service/hid: Finish converting LIFO objects and address some nits | Narr the Reg | 2021-11-25 | 12 | -91/+46 |
| | |||||
* | kraken: Address comments from review | german77 | 2021-11-25 | 2 | -5/+4 |
| | | | | Fix compiler bug | ||||
* | core/hid: Improve accuary of mouse implementation | german77 | 2021-11-25 | 6 | -18/+28 |
| | |||||
* | core/hid: Fully implement native mouse | german77 | 2021-11-25 | 1 | -4/+5 |
| | |||||
* | core/hid: Improve accuracy of the keyboard implementation | german77 | 2021-11-25 | 3 | -4/+34 |
| | |||||
* | core/hid: Fix keyboard alignment | german77 | 2021-11-25 | 1 | -0/+1 |
| | |||||
* | core/hid: Remove usage of native types, fix a couple of errors with motion | german77 | 2021-11-25 | 3 | -410/+538 |
| | |||||
* | service/hid: Remove includes of core.h and settings.h | german77 | 2021-11-25 | 22 | -51/+56 |
| | |||||
* | service/hid: Add support for new controllers | german77 | 2021-11-25 | 1 | -1/+30 |
| | |||||
* | core/hid: Rename NpadType to NpadStyleIndex | german77 | 2021-11-25 | 3 | -75/+79 |
| | |||||
* | second commit lion review | german77 | 2021-11-25 | 8 | -5/+13 |
| | |||||
* | kraken: Address comments from review | german77 | 2021-11-25 | 4 | -8/+5 |
| | | | | start lion review | ||||
* | core/hid: Update structs to 13.1.0 | german77 | 2021-11-25 | 9 | -42/+89 |
| | |||||
* | core/hid: Rework battery mappings | german77 | 2021-11-25 | 1 | -2/+9 |
| | |||||
* | service/hid: Fix memory allocated incorrectly | german77 | 2021-11-25 | 5 | -7/+7 |
| | |||||
* | Morph review first wave | german77 | 2021-11-25 | 12 | -74/+56 |
| | |||||
* | service/hid: Match shared memory closer to HW | german77 | 2021-11-25 | 2 | -26/+75 |
| | |||||
* | kraken: Address comments from review | german77 | 2021-11-25 | 3 | -8/+7 |
| | | | | review fixes | ||||
* | service/hid: Use ring buffer for gestures | german77 | 2021-11-25 | 2 | -79/+52 |
| | |||||
* | service/hid: Fix gesture input | german77 | 2021-11-25 | 2 | -61/+92 |
| | |||||
* | core/hid: Only signal when needed | german77 | 2021-11-25 | 1 | -2/+4 |
| | |||||
* | hid: Fix controller connection/disconnection | german77 | 2021-11-25 | 3 | -26/+56 |
| | |||||
* | kraken: Fix errors from rebase and format files | german77 | 2021-11-25 | 1 | -1/+0 |
| | |||||
* | core/hid: Add output devices | german77 | 2021-11-25 | 2 | -40/+5 |
| | |||||
* | service/hid: Rewrite npad to use ring lifo and the emulated controller | german77 | 2021-11-25 | 2 | -890/+605 |
| | |||||
* | service/hid: Update console sixaxis to the emulated console | german77 | 2021-11-25 | 2 | -28/+26 |
| | |||||
* | service/hid: Update mouse and keyboard to use ring lifo and the emulated device | german77 | 2021-11-25 | 4 | -158/+71 |
| | |||||
* | service/hid: Update touch and gestures to use ring lifo and the emulated console | german77 | 2021-11-25 | 4 | -370/+191 |
| | |||||
* | service/hid: Update debug pad, xpad, stubbed and controller base to use ring lifo and the emulated controller | german77 | 2021-11-25 | 7 | -166/+80 |
| | |||||
* | service/hid: Use remove duplicated code, update names | german77 | 2021-11-25 | 2 | -64/+30 |
| | |||||
* | service/hid: Create ring LIFO | german77 | 2021-11-25 | 1 | -0/+54 |
| | |||||
* | settings: Cleanup settings | german77 | 2021-11-25 | 4 | -5/+4 |
| | |||||
* | core: Remove unused includes | ameerj | 2021-11-04 | 3 | -4/+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 | 2 | -0/+10 |
| | |||||
* | hid: Stub SetTouchScreenConfiguration | german77 | 2021-09-10 | 3 | -1/+28 |
| | |||||
* | hle: service: hid: npad: Remove unused kernel reference. | bunnei | 2021-07-21 | 1 | -1/+0 |
| | |||||
* | hle: service: Add a helper module for managing kernel objects. | bunnei | 2021-07-21 | 4 | -13/+34 |
| | |||||
* | npad: Disable vibration check if disabled | german77 | 2021-07-11 | 1 | -0/+5 |
| | |||||
* | npad: Fix data race when updating devices | Rodrigo Locatti | 2021-06-22 | 2 | -0/+8 |
| | | | | | Add a lock to avoid data races. This reduces the number of -fsanitize=thread errors significantly. | ||||
* | hid: Stub IsFirmwareUpdateAvailableForSixAxisSensor | german77 | 2021-06-11 | 2 | -1/+23 |
| | |||||
* | 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 | 2 | -90/+90 |
| | | | | Transition to PascalCase for result names. | ||||
* | Merge pull request #6377 from lioncash/point | bunnei | 2021-05-30 | 3 | -39/+17 |
|\ | | | | | common: Extract Point struct into common | ||||
| * | touchscreen: Make use of common point struct | Lioncash | 2021-05-28 | 2 | -10/+10 |
| | | |||||
| * | common: Extract point into a common struct | Lioncash | 2021-05-28 | 1 | -29/+7 |
| | | | | | | | | | | This is generic enough that it can be moved into the Common class for reuse. | ||||
* | | Merge pull request #6356 from ogniK5377/ApplyNpadSystemCommonPolicy | bunnei | 2021-05-28 | 1 | -1/+10 |
|\ \ | |/ |/| | hid: ApplyNpadSystemCommonPolicy | ||||
| * | 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 | ||||
* | | hid/gesture: Factor out last gesture retrieval into its own function | Lioncash | 2021-05-18 | 2 | -14/+23 |
| | | | | | | | | Deduplicates a commonly repeated expression. | ||||
* | | hid/gesture: Ensure all ID arrays are initialized | Lioncash | 2021-05-18 | 1 | -4/+4 |
| | | | | | | | | Makes for deterministic initial state. | ||||
* | | hid/gesture: Make Point a template | Lioncash | 2021-05-18 | 2 | -38/+46 |
| | | | | | | | | | | We can now use this in a generic context to reuse it with the finger position. | ||||
* | | hid/gesture: Replace x,y members of GestureState with a Point | Lioncash | 2021-05-18 | 2 | -6/+4 |
| | | | | | | | | Simplifies assignments. | ||||
* | | hid/gesture: Add default comparators to Point | Lioncash | 2021-05-18 | 2 | -10/+7 |
| | | | | | | | | Simplifies some comparisons. | ||||
* | | hid/gesture: Rename Points to Point | Lioncash | 2021-05-18 | 1 | -5/+5 |
|/ | | | | This only represents a single point | ||||
* | core: Make variable shadowing a compile-time error | Lioncash | 2021-05-16 | 4 | -34/+41 |
| | | | | | | Now that we have most of core free of shadowing, we can enable the warning as an error to catch anything that may be remaining and also eliminate this class of logic bug entirely. | ||||
* | Merge pull request #6267 from german77/gestureRewrite | Morph | 2021-05-12 | 2 | -76/+340 |
|\ | | | | | hid: Improve hardware accuracy of gestures | ||||
| * | hid: Improve hardware accuracy of gestures | german77 | 2021-05-05 | 2 | -76/+340 |
| | | |||||
* | | hle: kernel: Remove deprecated Object class. | bunnei | 2021-05-06 | 2 | -2/+0 |
| | | |||||
* | | 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 KReadableEvent and KWritableEvent to KAutoObject. | bunnei | 2021-05-06 | 2 | -6/+5 |
| | | |||||
* | | hle: kernel: Refactor several threads/events/sharedmemory to use slab heaps. | bunnei | 2021-05-06 | 2 | -4/+9 |
| | | |||||
* | | hle: kernel: Ensure all kernel objects with KAutoObject are properly created. | bunnei | 2021-05-06 | 1 | -0/+1 |
| | | |||||
* | | hle: kernel: Migrate KEvent to KAutoObject. | bunnei | 2021-05-06 | 2 | -4/+3 |
| | | |||||
* | | hle: kernel: Migrate KSharedMemory to KAutoObject. | bunnei | 2021-05-06 | 4 | -22/+5 |
| | | |||||
* | | hle: kernel: Refactor IPC interfaces to not use std::shared_ptr. | bunnei | 2021-05-06 | 4 | -5/+4 |
|/ | |||||
* | service: Resolve cases of member field shadowing | Lioncash | 2021-05-04 | 18 | -19/+19 |
| | | | | | Now all that remains is for kernel code to be 'shadow-free' and then -Wshadow can be turned into an error. | ||||
* | hid: Fix touch not initializing properly if disabled | german77 | 2021-05-03 | 2 | -2/+10 |
| | |||||
* | Disable touch if setting is not enabled | german77 | 2021-05-01 | 2 | -2/+2 |
| | |||||
* | address comments | german77 | 2021-04-27 | 2 | -5/+5 |
| | |||||
* | hid: Implement SevenSixAxis and ConsoleSixAxisSensor | german77 | 2021-04-24 | 5 | -12/+194 |
| | |||||
* | service: hid: Get transfer memory for InitializeSevenSixAxisSensor | Morph | 2021-04-22 | 1 | -1/+38 |
| | |||||
* | npad: Remove duplicated class member variable | Lioncash | 2021-04-19 | 2 | -2/+1 |
| | | | | | | 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. | ||||
* | common: Move settings to common from core. | bunnei | 2021-04-15 | 10 | -10/+10 |
| | | | | - Removes a dependency on core and input_common from common. | ||||
* | Merge pull request #6158 from german77/hidServiceTables | bunnei | 2021-04-10 | 2 | -0/+85 |
|\ | | | | | hid: Update service function tables | ||||
| * | hid: Update service function tables | german77 | 2021-04-07 | 2 | -0/+85 |
| | | |||||
* | | service: hid: Stub SetAnalogStickUseCenterClamp | Morph | 2021-04-08 | 4 | -1/+29 |
|/ | | | | - Used by eBASEBALLパワフルプロ野球2020 | ||||
* | Merge pull request #6131 from german77/rightjoyconSLSR | Morph | 2021-04-02 | 1 | -2/+6 |
|\ | | | | | HID: Fix SL and SR buttons for right joycon | ||||
| * | HID: Fix SL and SR buttons for right joycon | german77 | 2021-04-02 | 1 | -2/+6 |
| | | |||||
* | | HID: Initialize correctly the gesture finger_id and filter invalid results | Narr the Reg | 2021-03-26 | 2 | -3/+13 |
|/ | |||||
* | Merge pull request #5276 from german77/gestures | Morph | 2021-02-28 | 2 | -11/+240 |
|\ | | | | | HID: Implement gestures | ||||
| * | Implements touch, pan, pinch and rotation gestures | german | 2021-02-28 | 2 | -11/+240 |
| | | |||||
* | | Merge pull request #5953 from bunnei/memory-refactor-1 | bunnei | 2021-02-27 | 4 | -6/+6 |
|\ \ | | | | | | | Kernel Rework: Memory updates and refactoring (Part 1) | ||||
| * | | hle: kernel: Rename SharedMemory to KSharedMemory. | bunnei | 2021-02-19 | 4 | -6/+6 |
| | | | |||||
* | | | hid: Implement GameCube Controller Vibrations | Morph | 2021-02-21 | 2 | -3/+130 |
|/ / | | | | | | | Implements both SendVibrationGcErmCommand and GetActualVibrationGcErmCommand, and modifies GetVibrationDeviceInfo to account for additional controllers. | ||||
* | | Merge pull request #4940 from german77/nativeGC | bunnei | 2021-02-15 | 2 | -1/+88 |
|\ \ | | | | | | | HID: Implement GC controller in game | ||||
| * | | hid: Implement GC controller | german | 2021-02-08 | 2 | -1/+88 |
| |/ | |||||
* | | 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 | 9 | -167/+405 |
|\ \ | | | | | | | HID: Update the HID service to match more closely to switchbrew part 1 | ||||
| * | | Add footer types and address comments | german | 2021-02-04 | 7 | -58/+106 |
| | | | |||||
| * | | Fix npad struct to match switchbrew | german | 2021-02-04 | 2 | -104/+133 |
| | | | |||||
| * | | Adds missing controller types and properties | german | 2021-02-04 | 9 | -30/+191 |
| | | | |||||
* | | | hle: kernel: Reimplement KReadableEvent and KWritableEvent. | bunnei | 2021-02-05 | 2 | -7/+13 |
| | | | |||||
* | | | hle: kernel: Rename WritableEvent to KWritableEvent. | bunnei | 2021-02-05 | 3 | -4/+4 |
| | | | |||||
* | | | hle: kernel: Rename ReadableEvent to KReadableEvent. | bunnei | 2021-02-05 | 3 | -4/+5 |
|/ / | |||||
* | | 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 | 3 | -11/+9 |
| | | |||||
* | | Stub Set/Get/Reset SixaxisSensorFusionParameters | german | 2021-01-24 | 4 | -3/+104 |
| | | |||||
* | | Merge pull request #5270 from german77/multiTouch | bunnei | 2021-01-21 | 2 | -29/+130 |
|\ \ | | | | | | | HID: Add multitouch support | ||||
| * | | Always initialize keyboard input | german | 2021-01-15 | 1 | -5/+1 |
| | | | |||||
| * | | Add mutitouch support for touch screens | german | 2021-01-15 | 2 | -19/+25 |
| | | | |||||
| * | | Allow to return up to 16 touch inputs per engine | german | 2021-01-15 | 2 | -55/+75 |
| | | | |||||
| * | | Allow all touch inputs at the same time and remove config options that are not longer necesary | german | 2021-01-15 | 2 | -11/+20 |
| | | | |||||
| * | | Add multitouch support | german | 2021-01-15 | 2 | -23/+93 |
| |/ | |||||
* | | npad: Add check for HANDHELD_INDEX in UpdateControllerAt() | Morph | 2021-01-18 | 1 | -1/+1 |
| | | |||||
* | | core: Silence Wclass-memaccess warnings | ReinUsesLisp | 2021-01-15 | 3 | -84/+93 |
|/ | | | | | 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. | ||||
* | controllers/npad: Make press_state atomic | Morph | 2020-12-18 | 2 | -2/+3 |
| | |||||
* | controllers/npad: Validate device handles before use | Morph | 2020-12-12 | 2 | -0/+45 |
| | | | | Some games such as NEKOPARA Vol. 3 send invalid device handles when calling InitializeVibrationDevice. Introduce a check to validate the device handle before use. | ||||
* | 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 |
| | | |||||
* | | Add missing types to NpadCommunicationMode | german | 2020-11-29 | 1 | -0/+2 |
| | | |||||
* | | Merge pull request #5021 from german77/StubCommunicationMode | bunnei | 2020-11-29 | 4 | -2/+50 |
|\ \ | | | | | | | HID: Stub set and get NpadCommunicationMode | ||||
| * | | Stub set and get NpadCommunicationMode | german | 2020-11-27 | 4 | -2/+50 |
| |/ | |||||
* / | service: Eliminate usages of the global system instance | Lioncash | 2020-11-27 | 6 | -27/+35 |
|/ | | | | | 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 | 3 | -5/+17 |
| | | | | 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: Load input devices on init | Morph | 2020-11-16 | 1 | -0/+2 |
| | |||||
* | general: Fix compiler warnings on linux and miscellaneous changes | Morph | 2020-11-16 | 2 | -8/+11 |
| | |||||
* | controllers/npad: Remove the old vibration filter | Morph | 2020-11-16 | 3 | -50/+64 |
| | | | | 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 | 3 | -12/+66 |
| | |||||
* | input_common: Add VibrationDevice and VibrationDeviceFactory | Morph | 2020-11-16 | 3 | -33/+27 |
| | | | | | | 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. | ||||
* | configure_input: Add per-player vibration | Morph | 2020-11-16 | 1 | -2/+11 |
| | | | | | | | Allows for enabling and modifying vibration and vibration strength per player. Also adds a toggle for enabling/disabling accurate vibrations. Co-authored-by: Its-Rei <kupfel@gmail.com> | ||||
* | settings: Remove global vibration strength modifier | Morph | 2020-11-16 | 1 | -3/+1 |
| | | | | This will be replaced in favor of per-player vibration strength modifiers. | ||||
* | hid: Mark Begin/EndPermitVibrationSession as stubs | Morph | 2020-11-16 | 3 | -18/+4 |
| | | | | 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 | 3 | -22/+38 |
| | | | | This stops all controllers from continuously vibrating when emulation is stopped. | ||||
* | hid: Stub IsVibrationDeviceMounted | Morph | 2020-11-16 | 2 | -1/+23 |
| | | | | - Used in Super Mario Odyssey | ||||
* | controllers/npad: Add heuristics to reduce rumble state changes | Morph | 2020-11-16 | 1 | -5/+46 |
| | | | | | Sending too many state changes in a short period of time can cause massive performance issues. As a result, we have to use several heuristics to reduce the number of state changes to minimize/eliminate this performance impact while maintaining the quality of these vibrations as much as possible. | ||||
* | configure_input: Hook up the vibration percentage spinbox | Morph | 2020-11-16 | 1 | -1/+2 |
| | | | | | This allows setting the vibration strength percentage anywhere from 1% to 100%. Also hooks up the remaining motion button and checkbox in the Controller Applet. | ||||
* | controllers/npad: Stop games from vibrating incorrect controllers | Morph | 2020-11-16 | 1 | -0/+10 |
| | | | | Fixes vibration in 1-2 Switch and potentially other games where they would vibrate both players' joycons at the same time. | ||||
* | hid: Fix controller rumble based on new research | Morph | 2020-11-16 | 3 | -43/+69 |
| | | | | | 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 | 4 | -215/+230 |
| | | | | Reorders all HID commands in command id order. | ||||
* | hid: Implement GetVibrationDeviceInfo | Morph | 2020-11-16 | 2 | -3/+39 |
| | | | | | | | | | | 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 |
| | |||||
* | controllers/npad: Rename NPadType to NpadStyleSet | Morph | 2020-11-16 | 2 | -8/+8 |
| | | | | This more accurately represents the underlying type and avoids confusion with NpadType | ||||
* | controllers/npad: Add DeviceHandle struct | Morph | 2020-11-16 | 1 | -27/+50 |
| | | | | A DeviceHandle describes a vibration device or six-axis sensor based on the npad type, npad id, and device index/position | ||||
* | settings: Preparation for per-game input settings | Morph | 2020-11-16 | 2 | -20/+26 |
| | |||||
* | controllers/npad: Connect a controller on init if none are connected | Morph | 2020-11-16 | 1 | -0/+13 |
| | |||||
* | service: Update function tables | Lioncash | 2020-10-28 | 1 | -1/+1 |
| | | | | Updates function tables according to info on SwitchBrew. | ||||
* | Revert "core: Fix clang build" | bunnei | 2020-10-21 | 9 | -80/+52 |
| | |||||
* | core: Fix clang build | Lioncash | 2020-10-18 | 9 | -52/+80 |
| | | | | | | | Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795 | ||||
* | core/CMakeLists: Make some warnings errors | Lioncash | 2020-10-13 | 3 | -28/+3 |
| | | | | | | | | | 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 | 4 | -2/+50 |
|\ | | | | | hid: Stub HomeButtonInputProtection service commands | ||||
| * | hid: Stub HomeButtonInputProtection service commands | Morph | 2020-09-30 | 4 | -2/+50 |
| | | | | | | | | - 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 #4742 from german77/InputFilter | bunnei | 2020-10-06 | 1 | -49/+58 |
|\ \ | | | | | | | HID: Only use inputs corresponding to controller type | ||||
| * | | Only use inputs corresponding to controller type | german | 2020-10-02 | 1 | -49/+58 |
| | | | |||||
* | | | Merge pull request #4734 from german77/motionfusion | bunnei | 2020-10-02 | 2 | -1/+15 |
|\ \ \ | |/ / |/| | | HID: Add Stub for EnableSixAxisSensorFusion | ||||
| * | | Stubbed EnableSixAxisSensorFusion | german | 2020-09-30 | 2 | -1/+15 |
| | | | |||||
* | | | Merge pull request #4291 from german77/ImplementControllerRumble | David | 2020-09-30 | 3 | -13/+22 |
|\ \ \ | |_|/ |/| | | input_common: First implementation of controller rumble | ||||
| * | | First implementation of controller rumble | german | 2020-09-29 | 3 | -13/+22 |
| |/ | |||||
* / | Use different timing for motion | german | 2020-09-24 | 5 | -76/+157 |
|/ | |||||
* | Merge pull request #4683 from Morph1984/NpadHandheldActivationMode-impl | bunnei | 2020-09-20 | 3 | -5/+28 |
|\ | | | | | hid: Implement Get/SetNpadHandheldActivationMode | ||||
| * | hid: Implement Get/SetNpadHandheldActivationMode | Morph | 2020-09-18 | 3 | -5/+28 |
| | | | | | | | | - 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. | ||||
* | | | Merge pull request #4594 from german77/MotionHID | bunnei | 2020-09-17 | 4 | -15/+184 |
|\ \ \ | |_|/ |/| | | hid/configuration: Implement motion controls to HID | ||||
| * | | configure_input: Hook up the motion button and checkbox | Morph | 2020-09-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | 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. | ||||
| * | | Add cemu hook changes related to PR #4609 | german | 2020-09-05 | 1 | -2/+1 |
| | | | |||||
| * | | Remove RealMotionDevice | german | 2020-09-05 | 2 | -7/+8 |
| | | | |||||
| * | | controllers/npad: Simplify motion entry assignment | Morph | 2020-09-05 | 1 | -29/+18 |
| | | | | | | | | | | | | Simplifies the motion assignment in the Dual Joycon entry and assigns index 1 of the motion entry (Motion 2) for the right joycon. | ||||
| * | | Include HID and configuration changes related to motion | german | 2020-09-05 | 4 | -15/+195 |
| |/ | |||||
* | | Merge pull request #4597 from Morph1984/mjolnir-p2 | bunnei | 2020-09-11 | 2 | -100/+23 |
|\ \ | |/ |/| | Project Mjölnir: Part 2 - Controller Applet | ||||
| * | applets/controller: Implement fallback applet for the SDL frontend | Morph | 2020-09-04 | 2 | -89/+0 |
| | | | | | | | | Implement the fallback applet for the SDL frontend, connecting only the minimum amount of players required. | ||||
| * | Project Mjölnir: Part 2 - Controller Applet | Morph | 2020-09-04 | 2 | -11/+23 |
| | | | | | | | | Co-authored-by: Its-Rei <kupfel@gmail.com> | ||||
* | | hid: Implement MergeSingleJoyasDualJoy | Morph | 2020-09-04 | 3 | -5/+24 |
|/ | | | | - Used in multiple games such as Super Mario Odyssey. | ||||
* | yuzu: Add motion and touch configuration | FearlessTobi | 2020-08-29 | 2 | -1/+12 |
| | |||||
* | controllers/npad: Fix inconsistencies with controller connection statuses | Morph | 2020-08-26 | 1 | -1/+7 |
| | |||||
* | controllers/npad: Fix LibNX controller connection statuses | Morph | 2020-08-26 | 1 | -1/+9 |
| | | | | This allows homebrew applications to be able to properly detect connected controllers. | ||||
* | controllers/npad: Fix LedPattern for P1-4 | Morph | 2020-08-26 | 1 | -3/+3 |
| | |||||
* | Project Mjölnir: Part 1 | Morph | 2020-08-26 | 3 | -127/+111 |
| | | | | | Co-authored-by: James Rowe <jroweboy@gmail.com> Co-authored-by: Its-Rei <kupfel@gmail.com> | ||||
* | core: Resolve several -Wextra-semi warnings | Lioncash | 2020-08-14 | 1 | -2/+2 |
| | | | | | 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. | ||||
* | core_timing: Make use of uintptr_t to represent user_data | Lioncash | 2020-07-28 | 2 | -4/+6 |
| | | | | 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. | ||||
* | Merge pull request #4350 from ogniK5377/hid-update-connected | bunnei | 2020-07-25 | 2 | -33/+37 |
|\ | | | | | hid: Only update keyboard & debug pad inputs if enabled | ||||
| * | hid: Only update keyboard & debug pad inputs if enabled | David Marcec | 2020-07-16 | 2 | -33/+37 |
| | | | | | | | | Previously we would ignore this setting and would update the states regardless of the user setting | ||||
* | | core_timing: Make TimedCallback take std::chrono::nanoseconds | Lioncash | 2020-07-16 | 2 | -9/+7 |
| | | | | | | | | 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 | 10 | -19/+17 |
| | | | | | | | 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 | 2 | -21/+85 |
|\ | | | | | hid: Stub a series of "SevenSixAxisSensor" service commands | ||||
| * | hid: Stub a series of "SevenSixAxisSensor" service commands | Morph | 2020-06-24 | 2 | -21/+85 |
| | | | | | | | | | | | | - 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 | 4 | -6/+56 |
|/ | | | | - Used by Captain Toad Treasure Tracker | ||||
* | Clang-format | VolcaEM | 2020-06-01 | 1 | -2/+1 |
| | |||||
* | hid: Stub GetXpadIDs | VolcaEM | 2020-06-01 | 2 | -1/+14 |
| | | | Allows Minecraft: Nintendo Switch Edition (a.k.a. old Minecraft) to boot and go ingame | ||||
* | Merge pull request #3926 from ogniK5377/keyboard-states | bunnei | 2020-05-19 | 1 | -3/+4 |
|\ | | | | | hid: Clear keyboard states & fix logic issue | ||||
| * | hid: Clear keyboard states & fix logic issue | David Marcec | 2020-05-12 | 1 | -3/+4 |
| | | | | | | | | 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 | ||||
* | | Stub SendKeyboardLockKeyEvent | David Marcec | 2020-05-11 | 2 | -1/+11 |
|/ | | | | Needed for Puchikon 4 SmileBASIC 1.0.0 | ||||
* | Merge pull request #3797 from slashiee/hid-stub | Mat M | 2020-04-27 | 2 | -1/+13 |
|\ | | | | | services: hid: Stub StopSevenSixAxisSensor. | ||||
| * | services: hid: Stub StopSevenSixAxisSensor. | M&M | 2020-04-26 | 2 | -1/+13 |
| | | | | | | | | - 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. | ||||
* | npad: Lower log level for VibrateController to Debug | FearlessTobi | 2020-04-20 | 1 | -1/+1 |
| | |||||
* | service: hid: npad: Fix implicit fallthrough errors. | bunnei | 2020-04-18 | 1 | -0/+2 |
| | |||||
* | service: hid: Update for new shared memory layout. | bunnei | 2020-04-17 | 1 | -3/+2 |
| | |||||
* | service: irs: Update for new shared memory layout. | bunnei | 2020-04-17 | 1 | -3/+3 |
| | |||||
* | services: hid: Stub InitializeSevenSixAxisSensor. | bunnei | 2020-03-27 | 2 | -1/+9 |
| | | | | - Used by Super Smash Bros. Ultimate v7.0.0. | ||||
* | analog_from_button get direction implementation | CJBok | 2020-02-18 | 1 | -5/+5 |
| | |||||
* | Core: Set all hardware emulation constants in a single file. | Fernando Sahmkow | 2020-02-12 | 1 | -3/+4 |
| | |||||
* | Moved analog direction logic to sdl_impl | CJBok | 2020-01-15 | 1 | -9/+22 |
| | |||||
* | Corrected directional states sensitivity | CJBok | 2020-01-14 | 1 | -9/+9 |
| | |||||
* | hid: Fix analog sticks directional states | CJBok | 2020-01-09 | 1 | -12/+12 |
| | |||||
* | core_timing: Use better reference tracking for EventType. (#3159) | bunnei | 2019-11-27 | 2 | -4/+3 |
| | | | | | | | * 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. | ||||
* | Merge pull request #3094 from lioncash/tables | bunnei | 2019-11-25 | 1 | -0/+24 |
|\ | | | | | service: Update function tables | ||||
| * | service: Update function tables | Lioncash | 2019-11-12 | 1 | -0/+24 |
| | | | | | | | | | | | | Keeps the function tables up to date. Updated based off information from Switchbrew. | ||||
* | | kernel: Replace usage of boost::intrusive_ptr with std::shared_ptr for kernel objects. (#3154) | bunnei | 2019-11-25 | 4 | -5/+4 |
|/ | | | | | | * 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 #3062 from bunnei/event-improve | bunnei | 2019-11-06 | 1 | -1/+1 |
|\ | | | | | kernel: Improve events | ||||
| * | kernel: events: Remove ResetType::Automatic. | bunnei | 2019-11-03 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | - This does not actually seem to exist in the real kernel - games reset these automatically. # Conflicts: # src/core/hle/service/am/applets/applets.cpp # src/core/hle/service/filesystem/fsp_srv.cpp | ||||
* | | Merge pull request #2859 from Morph1984/hid | David | 2019-11-06 | 2 | -92/+126 |
|\ \ | |/ |/| | hid: Stub SetNpadJoyAssignmentModeSingle and GetNpadHandheldActivationMode | ||||
| * | hid: Stub SetNpadJoyAssignmentModeSingle and reorganize service commands | Morph | 2019-10-07 | 2 | -92/+126 |
| | | |||||
* | | hid/npad: Fix incorrect connection boolean value in ConnectAllDisconnectedControllers() | Lioncash | 2019-10-18 | 1 | -1/+1 |
| | | | | | | | | | | | | We should be setting the connection state to true, otherwise we aren't actually making the controllers connected like the function name indicates. | ||||
* | | hid/npad: Add missing break in default case | Lioncash | 2019-10-18 | 1 | -0/+1 |
| | | | | | | | | | | | | | | While not an issue, it does prevent fallthrough from occurring if anything is ever added after this case (unlikely to occur, but this turns a trivial "should not cause issues" into a definite "won't cause issues). | ||||
* | | hid/npad: Replace std::for_each with ranged for loops | Lioncash | 2019-10-18 | 1 | -13/+12 |
| | | | | | | | | | | | | Performs the same behavior, but is built into the core language itself. No functional change. | ||||
* | | hid/npad: Remove redundant non-const variant of IsControllerSupported() | Lioncash | 2019-10-18 | 2 | -34/+5 |
| | | | | | | | | | | | | 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. | ||||
* | | hid/npad: Move function declarations | Lioncash | 2019-10-18 | 1 | -5/+6 |
| | | | | | | | | | | Clearly separate these from the variable declarations to make them more visible. | ||||
* | | hid: Implement DeactivateNpad | Morph | 2019-10-07 | 2 | -1/+13 |
|/ | | | | Makes use of the already existing DeactivateController function. | ||||
* | service/hid: Silence -Wunused and -Wswitch | ReinUsesLisp | 2019-10-05 | 15 | -23/+18 |
| | |||||
* | service/hid: Remove unused system reference | ReinUsesLisp | 2019-10-05 | 2 | -2/+1 |
| | |||||
* | Signal styleset changes at a better time | David Marcec | 2019-09-24 | 1 | -8/+2 |
| | | | | We should signal when a net controller is added and our event should be manual, not automatic. | ||||
* | removed comment | David Marcec | 2019-09-22 | 1 | -1/+0 |
| | |||||
* | Rebased | David Marcec | 2019-09-22 | 3 | -11/+19 |
| | |||||
* | removed unneeded semicolon | David Marcec | 2019-09-22 | 1 | -1/+1 |
| | |||||
* | marked controller constructors as explicit | David Marcec | 2019-09-22 | 8 | -8/+8 |
| | |||||
* | Rebase | David Marcec | 2019-09-22 | 20 | -44/+59 |
| | |||||
* | Deglobalize System: IRS | David Marcec | 2019-09-22 | 3 | -5/+6 |
| | |||||
* | Deglobalize System: Hid | David Marcec | 2019-09-22 | 20 | -37/+44 |
| | |||||
* | ditto | Morph1984 | 2019-09-04 | 1 | -1/+1 |
| | | | Co-Authored-By: David <25727384+ogniK5377@users.noreply.github.com> | ||||
* | IsVibrationEnabled() as a const member func | Morph1984 | 2019-09-04 | 1 | -1/+1 |
| | |||||
* | clang-format | Morph1984 | 2019-09-04 | 1 | -2/+2 |
| | |||||
* | Update npad.h | Morph1984 | 2019-09-04 | 1 | -0/+1 |
| | |||||
* | Update npad.cpp | Morph1984 | 2019-09-04 | 1 | -0/+6 |
| | |||||
* | Update hid.h | Morph1984 | 2019-09-04 | 1 | -0/+2 |
| | |||||
* | Update hid.cpp | Morph1984 | 2019-09-04 | 1 | -2/+23 |
| | |||||
* | addressed issues | David Marcec | 2019-07-08 | 1 | -6/+7 |
| | |||||
* | hid:StartLrAssignmentMode, hid:StopLrAssignmentMode, hid:SwapNpadAssignment | David Marcec | 2019-07-01 | 5 | -3/+98 |
| | | | | 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/kernel/object: Rename ResetType enum members | Lioncash | 2019-05-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | Renames the members to more accurately indicate what they signify. "OneShot" and "Sticky" are kind of ambiguous identifiers for the reset types, and can be kind of misleading. Automatic and Manual communicate the kind of reset type in a clearer manner. Either the event is automatically reset, or it isn't and must be manually cleared. The "OneShot" and "Sticky" terminology is just a hold-over from Citra where the kernel had a third type of event reset type known as "Pulse". Given the Switch kernel only has two forms of event reset types, we don't need to keep the old terminology around anymore. | ||||
* | 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 | 2 | -6/+6 |
| | | | | | | | | | | | 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. | ||||
* | Merge pull request #1933 from DarkLordZach/cheat-engine | bunnei | 2019-03-22 | 1 | -0/+3 |
|\ | | | | | file_sys: Implement parser and interpreter for game memory cheats | ||||
| * | 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 | ||||
* | | Merge pull request #2090 from FearlessTobi/port-4599 | bunnei | 2019-03-21 | 3 | -68/+68 |
|\ \ | |/ |/| | Port citra-emu/citra#4244 and citra-emu/citra#4599: Changes to BitField | ||||
| * | remove all occurance of specifying endianness inside BitField | Weiyi Wang | 2019-02-06 | 3 | -68/+68 |
| | | | | | | | | | | | | | | 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. | ||||
* | | 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: Convert core timing into a class | Lioncash | 2019-02-16 | 19 | -34/+51 |
| | | | | | | | | | | | | | | | | | | | | | | 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 | 11 | -22/+21 |
|/ | | | | | | 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 |
| | |||||
* | web_browser: Add bounds checking to applet interface | Zach Hilman | 2018-12-29 | 3 | -125/+127 |
| | |||||
* | hid: Make Hid service accessible and add GetPressState | Zach Hilman | 2018-12-28 | 4 | -459/+540 |
| | |||||
* | Merge pull request #1929 from bunnei/fix-hid | bunnei | 2018-12-27 | 1 | -44/+163 |
|\ | | | | | hid: Fix SetNpadJoyHoldType and improve logging. | ||||
| * | hid: Fix SetNpadJoyHoldType and improve logging. | bunnei | 2018-12-21 | 1 | -44/+163 |
| | | |||||
* | | npad: Remove code to invert input in horizontal mode. | bunnei | 2018-12-26 | 1 | -46/+0 |
|/ | | | | | - This was incorrect, the game appears to handle this for us. - Fixes horizontal mode with Puyo Puyo Tetris and Super Mario Odyssey. | ||||
* | Merge pull request #1803 from DarkLordZach/k-able-event | bunnei | 2018-12-03 | 3 | -12/+16 |
|\ | | | | | kernel: Divide Event into ReadableEvent and WritableEvent | ||||
| * | kernel/event: Reference ReadableEvent from WritableEvent | Zach Hilman | 2018-11-29 | 2 | -13/+7 |
| | | |||||
| * | core: Port all current usages of Event to Readable/WritableEvent | Zach Hilman | 2018-11-29 | 3 | -9/+19 |
| | | |||||
* | | Fixed crash with SetNpadMode | David Marcec | 2018-12-02 | 1 | -2/+3 |
|/ | | | | fixed crash due to handheld | ||||
* | Merge pull request #1801 from ogniK5377/log-before-execute | bunnei | 2018-11-29 | 3 | -59/+114 |
|\ | | | | | Changed logging to be "Log before execution", Added more error logging, all services/svc should now log on some level | ||||
| * | Changed logging to be "Log before execution", Added more error logging, all services should now log on some level | David Marcec | 2018-11-26 | 3 | -59/+114 |
| | | |||||
* | | Merge pull request #1817 from DarkLordZach/npad-idx-fix | bunnei | 2018-11-28 | 1 | -2/+2 |
|\ \ | | | | | | | npad: Use NPadIdToIndex to prevent invalid array access | ||||
| * | | npad: Use NPadIdToIndex to prevent invalid array access | Zach Hilman | 2018-11-28 | 1 | -2/+2 |
| |/ | |||||
* / | npad: Fix copy/paste error with LED position assignments | Zach Hilman | 2018-11-27 | 1 | -3/+3 |
|/ | |||||
* | debug_pad: Avoid loading input for nonexistent buttons (Home and Screenshot) | Zach Hilman | 2018-11-22 | 1 | -2/+3 |
| | | | | Prevents memory exceptions when the debug pad is enabled. | ||||
* | hid: Use player-defined controller type as PREFERRED_CONTROLLER | Zach Hilman | 2018-11-19 | 4 | -174/+61 |
| | |||||
* | hid/npad: Update NPad to use player controller bindings and type | Zach Hilman | 2018-11-19 | 2 | -55/+108 |
| | |||||
* | hid/touchscreen: Update Touchscreen to use advanced parameters | Zach Hilman | 2018-11-19 | 1 | -6/+6 |
| | | | | Including finger ID, diamater x/y, and angle. Additionally, checks if the touchscreen is enabled. | ||||
* | hid: Add controller bindings for Mouse controller | Zach Hilman | 2018-11-19 | 2 | -4/+30 |
| | |||||
* | hid: Add keyboard bindings for Keyboard controller | Zach Hilman | 2018-11-19 | 2 | -2/+24 |
| | |||||
* | hid: Add controller bindings for DebugPad controller | Zach Hilman | 2018-11-19 | 2 | -21/+43 |
| | | | | Used by developers to test games, not present on retail systems. Some games are known to respond to DebugPad input though, for example Kirby Star Allies. | ||||
* | Added missing start/end touch attributes to touchscreen | David Marcec | 2018-11-19 | 2 | -1/+18 |
| | |||||
* | Added debugpad skeleton | David Marcec | 2018-11-19 | 2 | -2/+55 |
| | |||||
* | Added controller helper funcs | David Marcec | 2018-11-19 | 2 | -0/+35 |
| | |||||
* | Changed polling rate of hid and Right joycon rotation | David Marcec | 2018-11-19 | 1 | -2/+2 |
| | |||||
* | Left joycon rotation button remapping | David Marcec | 2018-11-19 | 2 | -7/+21 |
| | |||||
* | Added automatic npad switch based on supported stylesets | David Marcec | 2018-11-19 | 2 | -4/+124 |
| | |||||
* | Added multi-input support and controller assignment at any port | David Marcec | 2018-11-19 | 2 | -122/+181 |
| | |||||
* | 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 priority switching edge case for handheld (#1675) | David | 2018-11-16 | 1 | -12/+46 |
| | | | | | | | | * Fixed priority switching edge case for handheld We accidently used controller index instead of npad id * Moved NPadIdToIndex | ||||
* | hid/npad: Add missing break in switch statement within Controller_NPad::OnUpdate() | Lioncash | 2018-11-14 | 1 | -0/+1 |
| | |||||
* | Updated npad styles on holdtype switches | David Marcec | 2018-11-07 | 1 | -0/+2 |
| | | | | Fixes input for megaman | ||||
* | Fixed HID crash when launching more than 1 game & signaled syleset change event | David Marcec | 2018-11-02 | 2 | -0/+5 |
| | | | | This should fix crashes when launching multiple games in yuzu | ||||
* | npad: Remove unused controller variable from OnInit() | Lioncash | 2018-10-24 | 1 | -2/+3 |
| | | | | | This also gets rid of variable shadowing related to the lambda parameter a little bit below this code as well. | ||||
* | hid: Update service function table for hidbus | Lioncash | 2018-10-21 | 1 | -0/+1 |
| | | | | Updated based off information provided by Switchbrew. | ||||
* | Added auto controller switching to supported controllers and single joycon button rotation | David Marcec | 2018-10-20 | 2 | -4/+189 |
| | | | | 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 | ||||
* | Merge pull request #1526 from lioncash/svc-id | bunnei | 2018-10-20 | 1 | -6/+45 |
|\ | | | | | service: Update function tables | ||||
| * | hid: Update service function tables | Lioncash | 2018-10-19 | 1 | -6/+45 |
| | | | | | | | | Updated based off information provided by Switchbrew. | ||||
* | | hid/controller: Remove unused header inclusions | Lioncash | 2018-10-18 | 9 | -9/+0 |
| | | | | | | | | | | | | swap.h only needs to be present in the header for the type aliases and definitions, it's not actually needed in the cpp files though. input.h is just unused entirely in xpad.h | ||||
* | | hid/controller/npad: Remove unused dump_idx member variable | Lioncash | 2018-10-18 | 1 | -1/+0 |
| | | | | | | | | Given it's unused, we may as well toss it. | ||||
* | | hid/controller/npad: Remove unnecessary semicolon from the closing brace of LedPattern's constructor | Lioncash | 2018-10-18 | 1 | -1/+1 |
| | | |||||
* | | hid/controller/npad: Remove #pragma once from the cpp file | Lioncash | 2018-10-18 | 1 | -2/+0 |
| | | | | | | | | This is only useful in headers. | ||||
* | | hid/controller/npad: Move npad_id_list into the cpp file | Lioncash | 2018-10-18 | 2 | -2/+10 |
| | | | | | | | | | | 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. | ||||
* | | hid/controller/npad: Remove unnecessary const from void return type | Lioncash | 2018-10-18 | 2 | -2/+2 |
| | | | | | | | | This literally does nothing. | ||||
* | | hid/controller: Default the destructors of all controller types in the cpp file | Lioncash | 2018-10-18 | 16 | -0/+16 |
| | | | | | | | | | | | | 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. | ||||
* | | controller_base: Default the base class constructor and destructor in the cpp file | Lioncash | 2018-10-18 | 2 | -2/+4 |
|/ | | | | The destructor doesn't need to be a pure-virtual function. | ||||
* | Using dual joycons as the default controller | David Marcec | 2018-10-17 | 3 | -77/+59 |
| | | | | Reason for the change is to allow both docked and undocked mode to work | ||||
* | Wip | David Marcec | 2018-10-12 | 2 | -3/+23 |
| | |||||
* | Dynamically decide handheld variant based on supported npad id priority | David Marcec | 2018-10-11 | 3 | -19/+62 |
| | | | | Kirby input still doesn't work, should fix a lot of other games | ||||
* | Added BeginPermitVibrationSession and EndPermitVibrationSession | David Marcec | 2018-10-10 | 3 | -2/+26 |
| | | | | Used by Mario Party | ||||
* | Added GetLedPattern and HandheldVariant | David Marcec | 2018-10-10 | 3 | -6/+63 |
| | | | | 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) | ||||
* | Kirby expects handheld controllers to be at position 8 | David Marcec | 2018-10-10 | 1 | -2/+8 |
| | |||||
* | Added the ability to "disconnect" individual npads | David Marcec | 2018-10-10 | 3 | -16/+40 |
| | | | | Fixes arms | ||||
* | Removed unneeded forward declarations | David Marcec | 2018-10-10 | 2 | -13/+2 |
| | |||||
* | Addressed changes for better hid | David Marcec | 2018-10-10 | 19 | -167/+238 |
| | |||||
* | "Better Hid" rework part 1 | David Marcec | 2018-10-10 | 20 | -643/+1481 |
| | |||||
* | Stubbed IRS (#1349) | David | 2018-09-24 | 2 | -18/+167 |
| | | | | | | | | | | * Stubbed IRS Currently we have no ideal way of implementing IRS. For the time being we should have the functions stubbed until we come up with a way to emulate IRS properly. * Added IRS to logging backend * Forward declared shared memory for irs | ||||
* | 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 |
| | |||||
* | hle/service: Default constructors and destructors in the cpp file where applicable | Lioncash | 2018-09-11 | 4 | -0/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a destructor isn't defaulted into a cpp file, it can cause the use of forward declarations to seemingly fail to compile for non-obvious reasons. It also allows inlining of the construction/destruction logic all over the place where a constructor or destructor is invoked, which can lead to code bloat. This isn't so much a worry here, given the services won't be created and destroyed frequently. The cause of the above mentioned non-obvious errors can be demonstrated as follows: ------- Demonstrative example, if you know how the described error happens, skip forwards ------- Assume we have the following in the header, which we'll call "thing.h": \#include <memory> // Forward declaration. For example purposes, assume the definition // of Object is in some header named "object.h" class Object; class Thing { public: // assume no constructors or destructors are specified here, // or the constructors/destructors are defined as: // // Thing() = default; // ~Thing() = default; // // ... Some interface member functions would be defined here private: std::shared_ptr<Object> obj; }; If this header is included in a cpp file, (which we'll call "main.cpp"), this will result in a compilation error, because even though no destructor is specified, the destructor will still need to be generated by the compiler because std::shared_ptr's destructor is *not* trivial (in other words, it does something other than nothing), as std::shared_ptr's destructor needs to do two things: 1. Decrement the shared reference count of the object being pointed to, and if the reference count decrements to zero, 2. Free the Object instance's memory (aka deallocate the memory it's pointing to). And so the compiler generates the code for the destructor doing this inside main.cpp. Now, keep in mind, the Object forward declaration is not a complete type. All it does is tell the compiler "a type named Object exists" and allows us to use the name in certain situations to avoid a header dependency. So the compiler needs to generate destruction code for Object, but the compiler doesn't know *how* to destruct it. A forward declaration doesn't tell the compiler anything about Object's constructor or destructor. So, the compiler will issue an error in this case because it's undefined behavior to try and deallocate (or construct) an incomplete type and std::shared_ptr and std::unique_ptr make sure this isn't the case internally. Now, if we had defaulted the destructor in "thing.cpp", where we also include "object.h", this would never be an issue, as the destructor would only have its code generated in one place, and it would be in a place where the full class definition of Object would be visible to the compiler. ---------------------- End example ---------------------------- Given these service classes are more than certainly going to change in the future, this defaults the constructors and destructors into the relevant cpp files to make the construction and destruction of all of the services consistent and unlikely to run into cases where forward declarations are indirectly causing compilation errors. It also has the plus of avoiding the need to rebuild several services if destruction logic changes, since it would only be necessary to recompile the single cpp file. | ||||
* | 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 | 2 | -1/+4 |
| | | | | | 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 | 3 | -0/+55 |
| | |||||
* | service/hid: Add irs services | Lioncash | 2018-07-26 | 3 | -0/+73 |
| | |||||
* | 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. | ||||
* | 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 | ||||
* | 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 | 2 | -10/+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 | 2 | -1/+5 |
| | |||||
* | hid: Update all layouts and only show handheld as connected, fixes libnx input for P1_AUTO | shinyquagsire23 | 2018-06-12 | 2 | -2/+3 |
| | |||||
* | 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 | ||||
* | 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 | 2 | -68/+220 |
| | | | | | | | | | | | | | | * 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 | 2 | -8/+4 |
| | | | | 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 | 2 | -63/+68 |
| | |||||
* | hid: Write to all layouts, implement circular buffers, set up controller metadata. | shinyquagsire23 | 2018-01-16 | 2 | -39/+71 |
| | |||||
* | hid: Bare-minimum sharedmem input | shinyquagsire23 | 2018-01-15 | 2 | -2/+88 |
| | |||||
* | 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: Remove unused registered_loggers. | bunnei | 2018-01-15 | 1 | -3/+0 |
| | |||||
* | hid: Implement IAppletResource::GetSharedMemoryHandle. | bunnei | 2018-01-15 | 2 | -10/+67 |
| | |||||
* | Remove lots more 3DS-specific code. | bunnei | 2017-10-13 | 6 | -793/+6 |
| | |||||
* | 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 |
| | |||||
* | HID: zero unused PadState bits | wwylele | 2017-08-10 | 1 | -1/+1 |
| | |||||
* | 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 | 2 | -8/+21 |
| | |||||
* | 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 AnalogDevice | wwylele | 2017-03-01 | 1 | -2/+9 |
| | |||||
* | HID: use ButtonDevice | wwylele | 2017-03-01 | 2 | -1/+47 |
| | |||||
* | HID: move enable_accelerometer/gyroscope_count initialization into Init() (#2574) | Weiyi Wang | 2017-02-17 | 1 | -2/+5 |
| | | | Fixes #2556 | ||||
* | hid: remove the touch field from PadState (#2557) | Weiyi Wang | 2017-02-11 | 1 | -4/+0 |
| | |||||
* | 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 | 2 | -58/+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 | 3 | -3/+3 |
| | |||||
* | Remove empty newlines in #include blocks. | Emmanuel Gil Peyrot | 2016-09-21 | 2 | -9/+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 | 3 | -7/+6 |
| | |||||
* | Sources: Run clang-format on everything. | Emmanuel Gil Peyrot | 2016-09-18 | 4 | -75/+77 |
| | |||||
* | 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 | 2 | -35/+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 | 2 | -9/+20 |
| | |||||
* | implement accel and gyro backend | wwylele | 2016-03-22 | 4 | -23/+176 |
| | |||||
* | 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 | 3 | -3/+0 |
| | |||||
* | services: Update some function tables | Lioncash | 2015-12-30 | 1 | -0/+2 |
| | |||||
* | 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 | 2 | -1/+14 |
| | |||||
* | CitraQt: Cleanup includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -0/+1 |
| | |||||
* | Common: Cleanup key_map includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -7/+9 |
| | |||||
* | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 2015-05-29 | 3 | -3/+3 |
| | |||||
* | 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 | 4 | -9/+47 |
| | |||||
* | 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 | 2 | -6/+6 |
| | |||||
* | Merge pull request #655 from purpasmart96/hid_fixes | bunnei | 2015-03-17 | 4 | -12/+72 |
|\ | | | | | 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 | 4 | -12/+72 |
| | | | | | | | | with a stub for GetSoundVolume | ||||
* | | arm_interface: Get rid of GetTicks. | Lioncash | 2015-03-16 | 1 | -3/+3 |
|/ | | | | Removes a TODO. | ||||
* | hid_user: Removed unnecessary includes. | bunnei | 2015-03-11 | 1 | -2/+0 |
| | |||||
* | HID: Removed unnecessary global variables. | bunnei | 2015-03-11 | 2 | -58/+42 |
| | |||||
* | HID: Added additional variable comments and some code cleanups. | bunnei | 2015-03-11 | 2 | -20/+29 |
| | |||||
* | HID: Complete refactor of pad/touch input to fix threading issues. | bunnei | 2015-03-11 | 2 | -111/+28 |
| | |||||
* | 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 | 2 | -4/+4 |
| | |||||
* | 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 | 2 | -0/+61 |
| | |||||
* | HID: Moved some docstrings to the header. | bunnei | 2015-03-10 | 2 | -24/+16 |
| | |||||
* | HID: Refactored shared memory decoding for touchpad support. | bunnei | 2015-03-10 | 2 | -33/+64 |
| | |||||
* | Services: Moved the PTM and APT services to their own folder | Subv | 2015-03-04 | 6 | -81/+75 |
| | | | | | | 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 |
| | |||||
* | Asserts: break/crash program, fit to style guide; log.h->assert.h | archshift | 2015-02-11 | 2 | -3/+0 |
| | | | | | | | Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft. | ||||
* | 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 |
| | |||||
* | Service: Clean-up Interface | Yuri Kunde Schlesner | 2015-02-02 | 2 | -2/+2 |
| | |||||
* | Kernel: Convert Event to not use Handles | Yuri Kunde Schlesner | 2015-01-30 | 3 | -23/+27 |
| | |||||
* | Kernel: Convert SharedMemory to not use Handles | Yuri Kunde Schlesner | 2015-01-30 | 3 | -5/+11 |
| | |||||
* | Added HID_SPVR service and split HID_U implementation into service/hid/hid.xxx | archshift | 2015-01-21 | 6 | -0/+414 |