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

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

TouchInputMapper: clarify the different touchpad modes

The previous documentation comments were misleading, since UNSCALED is
only actually used for touchpads that have been captured by an app.

Bug: 280396539
Test: none
Change-Id: I4658784a57a6f1349bd090a002f34a8718af24e0
parent ff68f325
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -195,9 +195,9 @@ protected:
    enum class DeviceMode {
        DISABLED,   // input is disabled
        DIRECT,     // direct mapping (touchscreen)
        UNSCALED,   // unscaled mapping (touchpad)
        UNSCALED,   // unscaled mapping (e.g. captured touchpad)
        NAVIGATION, // unscaled mapping with assist gesture (touch navigation)
        POINTER,    // pointer mapping (pointer)
        POINTER,    // pointer mapping (e.g. uncaptured touchpad, drawing tablet)

        ftl_last = POINTER
    };