Skip to content

Commit

Permalink
Add led overlay
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroBrey committed Feb 3, 2017
1 parent 578ec5e commit 8e66ae3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions overlay/vendor/cmsdk/cm/res/res/values/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,20 @@
<bool name="config_proximityCheckOnWake">true</bool>
<integer name="config_proximityCheckTimeout">100</integer>
<bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool>

<!-- All the capabilities of the LEDs on this device, stored as a bit field.
This integer should equal the sum of the corresponding value for each
of the following capabilities present:
LIGHTS_RGB_NOTIFICATION_LED = 1
LIGHTS_RGB_BATTERY_LED = 2
LIGHTS_MULTIPLE_NOTIFICATION_LED = 4
LIGHTS_PULSATING_LED = 8
LIGHTS_SEGMENTED_BATTERY_LED = 16
LIGHTS_ADJUSTABLE_NOTIFICATION_LED_BRIGHTNESS = 32
For example, a device support pulsating, RGB notification and
battery LEDs would set this config to 11. -->
<integer name="config_deviceLightCapabilities" translatable="false">8</integer>

</resources>

0 comments on commit 8e66ae3

Please sign in to comment.