summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/hid/controllers/gesture.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-06-10service: hid: Fix gesture regressionNarr the Reg1-2/+1
2022-04-24service: hid: Ensure all structs are initializedNarr the Reg1-15/+15
2022-04-23service: hid: Access shared memory directlyNarr the Reg1-6/+11
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: Finish converting LIFO objects and address some nitsNarr the Reg1-1/+1
2021-11-25service/hid: Remove includes of core.h and settings.hgerman771-1/+1
2021-11-25second commit lion reviewgerman771-4/+1
2021-11-25Morph review first wavegerman771-19/+14
2021-11-25service/hid: Use ring buffer for gesturesgerman771-18/+6
2021-11-25service/hid: Fix gesture inputgerman771-7/+22
2021-11-25service/hid: Update touch and gestures to use ring lifo and the emulated consolegerman771-49/+31
2021-05-28common: Extract point into a common structLioncash1-29/+7
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 functionLioncash1-1/+5
Deduplicates a commonly repeated expression.
2021-05-18hid/gesture: Ensure all ID arrays are initializedLioncash1-4/+4
Makes for deterministic initial state.
2021-05-18hid/gesture: Make Point a templateLioncash1-11/+24
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-2/+1
Simplifies assignments.
2021-05-18hid/gesture: Add default comparators to PointLioncash1-2/+4
Simplifies some comparisons.
2021-05-18hid/gesture: Rename Points to PointLioncash1-5/+5
This only represents a single point
2021-05-16core: Make variable shadowing a compile-time errorLioncash1-11/+13
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-15/+54
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-02-28Implements touch, pan, pinch and rotation gesturesgerman1-8/+84
2019-10-05service/hid: Remove unused system referenceReinUsesLisp1-1/+0
2019-09-22marked controller constructors as explicitDavid Marcec1-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-1/+1
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-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-3/+4
2018-10-10"Better Hid" rework part 1David Marcec1-0/+61