abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/VibratorCompat.java
AgeCommit message (Collapse)AuthorFilesLines
2024-02-10Drop support for Android versions below 3.0Jules Aguillon1-4/+2
Android 3.0 (API level 11) was released in Feb 2011. These versions were already unsupported due to unavoidable calls to: - MotionEvent.getActionMasked() (API 8) And avoidable calls to: - SharedPreferences.Editor.putStringSet() (API 11)
2024-01-09Revert "Remove the vibration settings"Jules Aguillon1-44/+11
This reverts commits ef03dfed5c802a855c4655204eee39a8769cfed7 and ff01678ba688778d67f824a0be56634974c1b0e8. The "vibration duration" slider is bought back. The "vibration enabled" option is replaced by "custom vibration", which switch between the system haptic feedback or the custom vibration. The slider is greyed when "custom vibration" is unchecked and is allowed to have a value of 0 to disable vibrations within the app. The intermediate values "light", "medium" and "strong" are removed and no migration of the setting is made.
2023-08-02Settings: Increase vibration valuesJules Aguillon1-3/+3
2023-06-04Increase vibration valuesJules Aguillon1-3/+3
2023-06-03More control over vibrationJules Aguillon1-0/+81
The newer haptic feedback API that is used instead of the vibrator service since ef03dfe doesn't work for everyone. The new vibration option allow to choose both the newer API ("system") and the older API ("strong", "medium", "light").