aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/hid/controllers/gesture.h
AgeCommit message (Collapse)Author
2024-01-05hid_core: Move hid to it's own subprojectNarr the Reg
2023-12-31service: hid: Use applet resource to get latest shared memory handleNarr the Reg
2023-12-14core: hid: Clean up headersNarr the Reg
2023-12-13service: hid: Allow to create multiple instances of shared memoryNarr the Reg
2023-11-20service: hid: Create appropriate hid resourcesNarr the Reg
2022-06-10service: hid: Fix gesture regressionNarr the Reg
2022-04-23service: hid: Ensure all structs are initializedNarr the Reg
2022-04-23service: hid: Access shared memory directlyNarr the Reg
2022-04-23general: Convert source file copyright comments over to SPDXMorph
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-24service/hid: Finish converting LIFO objects and address some nitsNarr the Reg
2021-11-24service/hid: Remove includes of core.h and settings.hgerman77
2021-11-24second commit lion reviewgerman77
2021-11-24Morph review first wavegerman77
2021-11-24service/hid: Use ring buffer for gesturesgerman77
2021-11-24service/hid: Fix gesture inputgerman77
2021-11-24service/hid: Update touch and gestures to use ring lifo and the emulated consolegerman77
2021-05-28common: Extract point into a common structLioncash
This is generic enough that it can be moved into the Common class for reuse.
2021-05-18hid/gesture: Factor out last gesture retrieval into its own functionLioncash
Deduplicates a commonly repeated expression.
2021-05-18hid/gesture: Ensure all ID arrays are initializedLioncash
Makes for deterministic initial state.
2021-05-18hid/gesture: Make Point a templateLioncash
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 PointLioncash
Simplifies assignments.
2021-05-18hid/gesture: Add default comparators to PointLioncash
Simplifies some comparisons.
2021-05-18hid/gesture: Rename Points to PointLioncash
This only represents a single point
2021-05-16core: Make variable shadowing a compile-time errorLioncash
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 gesturesgerman77
2021-05-04service: Resolve cases of member field shadowingLioncash
Now all that remains is for kernel code to be 'shadow-free' and then -Wshadow can be turned into an error.
2021-02-27Implements touch, pan, pinch and rotation gesturesgerman
2019-10-04service/hid: Remove unused system referenceReinUsesLisp
2019-09-22marked controller constructors as explicitDavid Marcec
2019-09-22RebaseDavid Marcec
2019-09-22Deglobalize System: HidDavid Marcec
2019-02-15core_timing: Convert core timing into a classLioncash
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.
2018-10-17hid/controller: Default the destructors of all controller types in the cpp fileLioncash
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 Marcec
2018-10-10"Better Hid" rework part 1David Marcec