gts3l-common: overlay: Enable adjusting haptic strength and change default values

It feels like so strong than the official firmware one. I don't want to,
so I reduced its strength with enabling its adjustment menu.

But it seems not affect that much as I think. Or, it maybe actually not
working. So it still need to be tested.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2336d298d27efc0b1e4471f04ddcea1678fb39c5
This commit is contained in:
Deokgyu Yang 2021-07-02 11:37:29 +09:00
parent b29299ca4f
commit 6acd89ab67
2 changed files with 30 additions and 0 deletions

View file

@ -23,4 +23,10 @@
3 = right side
-->
<integer name="config_fingerprintSensorLocation">1</integer>
<!-- Whether or not the device is capable of multiple levels of vibration intensity.
Note that this is different from whether it can control the vibration amplitude as some
devices will be able to vary their amplitude but do not possess enough dynamic range to
have distinct intensity levels -->
<bool name="config_vibration_supports_multiple_intensities">true</bool>
</resources>

View file

@ -843,4 +843,28 @@
<item>"/system/lib64/libsurfaceflinger.so"</item>
</string-array>
<!-- Enables or disables haptic effect when the text insertion/selection handle is moved
manually by the user. Off by default, since the expected haptic feedback may not be
available on some devices. -->
<bool name="config_enableHapticTextHandle">true</bool>
<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
<integer-array name="config_keyboardTapVibePattern">
<item>10</item>
</integer-array>
<!-- The default intensity level for haptic feedback. See
Settings.System.HAPTIC_FEEDBACK_INTENSITY more details on the constant values and
meanings. -->
<integer name="config_defaultHapticFeedbackIntensity">1</integer>
<!-- The default intensity level for notification vibrations. See
Settings.System.NOTIFICATION_VIBRATION_INTENSITY more details on the constant values and
meanings. -->
<integer name="config_defaultNotificationVibrationIntensity">1</integer>
<!-- The default intensity level for ring vibrations. See
Settings.System.RING_VIBRATION_INTENSITY more details on the constant values and
meanings. -->
<integer name="config_defaultRingVibrationIntensity">1</integer>
</resources>