mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-27 07:58:01 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
Optional, separate from the gate fix. #2699 made the press a light EFFECT_TICK and, where the vibrator doesn't report the effect, a 12 ms pulse at amplitude 80 of 255. Android's own keyboard press is EFFECT_CLICK (HapticFeedbackVibrationProvider.getKeyboardVibration: KEYBOARD_TAP -> PRIMITIVE_CLICK / EFFECT_CLICK, KEYBOARD_RELEASE -> EFFECT_TICK), and a 12 ms pulse at a third of full strength may not be felt on a phone whose vibrator answers "unknown" for predefined effects, which would look like the S23 report. Changed: Press plays EFFECT_CLICK (20 ms pulse where unsupported); every fallback pulse uses VibrationEffect.DEFAULT_AMPLITUDE. Release, dictation start (click) and end (tick) keep their effects. The system's touch intensity still scales every tap. Removed: the fixed amplitude 80 ("light") for fallback pulses, and the tick as the key-press effect. Verified: testDebugUnitTest, assembleDebug and assemblePreview green; emulator dumpsys shows Prebaked=CLICK per press (evidence in the PR). |
||
| .. | ||
| src | ||
| build.gradle.kts | ||
| proguard-rules.pro | ||