summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/gesture.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-10service: hid: Fix gesture regressionNarr the Reg1-2/+2
2022-04-24service: hid: Ensure all structs are initializedNarr the Reg1-2/+2
2022-04-23service: hid: Access shared memory directlyNarr the Reg1-15/+17
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2021-11-25service/hid: Remove includes of core.h and settings.hgerman771-3/+2
2021-11-25core/hid: Update structs to 13.1.0german771-4/+4
2021-11-25service/hid: Fix memory allocated incorrectlygerman771-1/+1
2021-11-25Morph review first wavegerman771-6/+3
2021-11-25service/hid: Use ring buffer for gesturesgerman771-61/+46
2021-11-25service/hid: Fix gesture inputgerman771-54/+70
2021-11-25service/hid: Update touch and gestures to use ring lifo and the emulated consolegerman771-174/+100
2021-05-18hid/gesture: Factor out last gesture retrieval into its own functionLioncash1-13/+18
Deduplicates a commonly repeated expression.
2021-05-18hid/gesture: Make Point a templateLioncash1-27/+22
We can now use this in a generic context to reuse it with the finger position.
2021-05-18hid/gesture: Replace x,y members of GestureState with a PointLioncash1-4/+3
Simplifies assignments.
2021-05-18hid/gesture: Add default comparators to PointLioncash1-8/+3
Simplifies some comparisons.
2021-05-16core: Make variable shadowing a compile-time errorLioncash1-21/+26
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.
2021-05-05hid: Improve hardware accuracy of gesturesgerman771-61/+286
2021-05-04service: Resolve cases of member field shadowingLioncash1-1/+1
Now all that remains is for kernel code to be 'shadow-free' and then -Wshadow can be turned into an error.
2021-05-03hid: Fix touch not initializing properly if disabledgerman771-1/+5
2021-05-01Disable touch if setting is not enabledgerman771-1/+1
2021-04-15common: Move settings to common from core.bunnei1-1/+1
- Removes a dependency on core and input_common from common.
2021-03-26HID: Initialize correctly the gesture finger_id and filter invalid resultsNarr the Reg1-3/+8
2021-02-28Implements touch, pan, pinch and rotation gesturesgerman1-3/+156
2020-10-21Revert "core: Fix clang build"bunnei1-5/+3
2020-10-18core: Fix clang buildLioncash1-3/+5
Recent changes to the build system that made more warnings be flagged as errors caused building via clang to break. Fixes #4795
2020-06-27General: Recover Prometheus project from harddrive failure Fernando Sahmkow1-1/+1
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.
2019-10-05service/hid: Silence -Wunused and -WswitchReinUsesLisp1-2/+1
2019-10-05service/hid: Remove unused system referenceReinUsesLisp1-1/+1
2019-09-22RebaseDavid Marcec1-2/+3
2019-09-22Deglobalize System: HidDavid Marcec1-1/+1
2019-02-16core_timing: Convert core timing into a classLioncash1-2/+3
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.
2019-02-12core_timing: Rename CoreTiming namespace to Core::TimingLioncash1-1/+1
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.
2018-10-18hid/controller: Remove unused header inclusionsLioncash1-1/+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
2018-10-18hid/controller: Default the destructors of all controller types in the cpp fileLioncash1-0/+1
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.
2018-10-10Addressed changes for better hidDavid Marcec1-4/+11
2018-10-10"Better Hid" rework part 1David Marcec1-0/+36