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

Commit 8c48b9b0 authored by Harry Cutts's avatar Harry Cutts
Browse files

Enable new touchpad stack by default

The Gestures library-based stack now has feature parity with the old one
(except for rotation gestures) and so can safely be enabled by default
rather than requiring dogfooders, testers, etc. to change the sysprop
manually.

Bug: 251196347, 264996455
Test: atest inputflinger_tests
Change-Id: Ia1f8e1e6e36bc972d00cd847a64af426b04ae360
parent 9c528bd7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -209,7 +209,7 @@ void InputDevice::addEventHubDevice(int32_t eventHubId, bool populateMappers) {

    // Touchscreens and touchpad devices.
    static const bool ENABLE_TOUCHPAD_GESTURES_LIBRARY =
            sysprop::InputProperties::enable_touchpad_gestures_library().value_or(false);
            sysprop::InputProperties::enable_touchpad_gestures_library().value_or(true);
    // TODO(b/246587538): Fix the new touchpad stack for Sony DualShock 4 (5c4, 9cc) and DualSense
    // (ce6) touchpads, or at least load this setting from the IDC file.
    const InputDeviceIdentifier& identifier = getDeviceInfo().getIdentifier();