Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08604801 authored by Harry Cutts's avatar Harry Cutts
Browse files

TouchButtonAccumulator: note that getTouchCount can include palms

Bug: b/275616121
Test: none, since this is a comment-only change
Change-Id: Iad0e57adc15d3b2d58a5cac839b2a17b7a852a0e
parent 195c5f80
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -41,6 +41,12 @@ public:
    bool isHovering() const;
    bool hasStylus() const;
    bool hasButtonTouch() const;

    /*
     * Returns the number of touches reported by the device through its BTN_TOOL_FINGER and
     * BTN_TOOL_*TAP "buttons". Note that this count includes touches reported with their
     * ABS_MT_TOOL_TYPE set to MT_TOOL_PALM.
     */
    int getTouchCount() const;

private: