KieronQuinn / TapTap

Port of the double tap on back of device feature from Android 12 to any Android 7.0+ device
GNU General Public License v3.0
3.48k stars 201 forks source link

Low power mode requires one extra tap when Triple Tap is enabled #597

Closed radugrecu97 closed 7 months ago

radugrecu97 commented 7 months ago

I'm using Pixel 5. If I have low power mode enabled and allowed on Sui, double tap works just fine as of native Pixel double tap.

But once I enable Triple Tap, then double tap requires 3 fast taps to activate or 2 with large delay.

Triple Tap requires fast taps.

What can it be?

KieronQuinn commented 7 months ago

Low Power Mode receives events direct from the system, the difference between double tap and triple tap is the event monitoring is different; there's an event specifically for single and double taps but not triple taps, so it has to check these single tap timings to detect triple taps.

It's possible the system is not reporting all the single tap events if they're not spaced out enough, unfortunately I have no control over this.