Update overlays for s7

This commit is contained in:
ivanmeler 2023-05-01 10:39:58 +00:00
parent 4d9cea346c
commit 39478c7bc1
3 changed files with 2 additions and 19 deletions

View file

@ -29,9 +29,7 @@
#define PANEL_MAX_BRIGHTNESS_NODE "/sys/class/leds/lcd-backlight/max_brightness" #define PANEL_MAX_BRIGHTNESS_NODE "/sys/class/leds/lcd-backlight/max_brightness"
#define BUTTON_BRIGHTNESS_NODE "/sys/class/sec/sec_touchkey/brightness" #define BUTTON_BRIGHTNESS_NODE "/sys/class/sec/sec_touchkey/brightness"
// Those two paths don't exist in the Galaxy S7 QCOM sysfs
#define LED_BLINK_NODE "/sys/class/sec/led/led_blink" #define LED_BLINK_NODE "/sys/class/sec/led/led_blink"
#define LED_BLN_NODE "/sys/class/misc/backlightnotification/notification_led"
// Uncomment to enable variable button brightness // Uncomment to enable variable button brightness
//#define VAR_BUTTON_BRIGHTNESS 1 //#define VAR_BUTTON_BRIGHTNESS 1

View file

@ -57,7 +57,7 @@
For example, a device with notification and battery lights that supports For example, a device with notification and battery lights that supports
pulsating and RGB control would set this config to 75. --> pulsating and RGB control would set this config to 75. -->
<integer name="config_deviceLightCapabilities">0</integer> <integer name="config_deviceLightCapabilities">75</integer>
<!-- Hardware keys present on the device, stored as a bit field. <!-- Hardware keys present on the device, stored as a bit field.
This integer should equal the sum of the corresponding value for each This integer should equal the sum of the corresponding value for each

View file

@ -815,26 +815,11 @@
<item>"/system/lib64/libsurfaceflinger.so"</item> <item>"/system/lib64/libsurfaceflinger.so"</item>
</string-array> </string-array>
<!-- Vibrator pattern to be used as the default for notifications
that specify DEFAULT_VIBRATE.
-->
<integer-array name="config_defaultNotificationVibePattern">
<item>0</item>
<item>250</item>
<item>250</item>
<item>250</item>
</integer-array>
<!-- Enables or disables haptic effect when the text insertion/selection handle is moved <!-- 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 manually by the user. Off by default, since the expected haptic feedback may not be
available on some devices. --> available on some devices. -->
<bool name="config_enableHapticTextHandle">true</bool> <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 <!-- The default intensity level for haptic feedback. See
Settings.System.HAPTIC_FEEDBACK_INTENSITY more details on the constant values and Settings.System.HAPTIC_FEEDBACK_INTENSITY more details on the constant values and
meanings. --> meanings. -->
@ -891,7 +876,7 @@
For example, a device with notification and battery lights that supports For example, a device with notification and battery lights that supports
pulsating and RGB control would set this config to 75. --> pulsating and RGB control would set this config to 75. -->
<integer name="config_deviceLightCapabilities">0</integer> <integer name="config_deviceLightCapabilities">75</integer>
<!-- Hardware keys present on the device, stored as a bit field. <!-- Hardware keys present on the device, stored as a bit field.
This integer should equal the sum of the corresponding value for each This integer should equal the sum of the corresponding value for each