mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-09 21:14:24 -05:00
Android/overlay-haptics: Revert 'Increase amplitude'
This commit is contained in:
parent
a5b9e8283e
commit
de7c27dea8
|
|
@ -28,7 +28,7 @@ enum class HapticEffect(
|
|||
PRESS(
|
||||
feedbackConstant = HapticFeedbackConstantsCompat.VIRTUAL_KEY,
|
||||
maxTimings = longArrayOf(0L, 100L),
|
||||
maxAmplitudes = intArrayOf(0, 255),
|
||||
maxAmplitudes = intArrayOf(0, 180),
|
||||
primaryPrimitive = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||
VibrationEffect.Composition.PRIMITIVE_QUICK_FALL
|
||||
} else {
|
||||
|
|
@ -47,7 +47,7 @@ enum class HapticEffect(
|
|||
HapticFeedbackConstantsCompat.CONTEXT_CLICK // Better than a no-op.
|
||||
},
|
||||
maxTimings = longArrayOf(0L, 70L),
|
||||
maxAmplitudes = intArrayOf(0, 180),
|
||||
maxAmplitudes = intArrayOf(0, 128),
|
||||
primaryPrimitive = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||
VibrationEffect.Composition.PRIMITIVE_QUICK_RISE
|
||||
} else {
|
||||
|
|
@ -57,7 +57,7 @@ enum class HapticEffect(
|
|||
JOYSTICK(
|
||||
feedbackConstant = HapticFeedbackConstantsCompat.SEGMENT_FREQUENT_TICK,
|
||||
maxTimings = longArrayOf(0L, 50L),
|
||||
maxAmplitudes = intArrayOf(0, 128),
|
||||
maxAmplitudes = intArrayOf(0, 90),
|
||||
primaryPrimitive = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
|
||||
VibrationEffect.Composition.PRIMITIVE_LOW_TICK
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user