Skip to content

Commit

Permalink
Communication LED patterns use auto-disable policy
Browse files Browse the repository at this point in the history
Missed call, SMS etc led patterns are de-activated when the user
unblanks the display device via power key or double tap.

[mce] Communication LED patterns use auto-disable policy
  • Loading branch information
spiiroin committed Nov 8, 2013
1 parent 362563b commit 96533e6
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions inifiles/hybris-led.ini
Expand Up @@ -4,12 +4,14 @@
# Please prefix pattern names with Pattern to avoid name space clashes
#
# [0] Priority (0 - highest, 255 - lowest)
# [1] ScreenOn - 0 only show pattern when the display is off
# 1 show pattern even when the display is on
# 2 only show pattern when the display is off, including acting dead
# 3 show pattern even when the display is on, including acting dead
# 4 only show pattern if the display is off, or if in acting dead
# 5 always show pattern, even if LED disabled
# [1] ScreenOn
# 0 only show pattern when the display is off
# 1 show pattern even when the display is on
# 2 only show pattern when the display is off, including acting dead
# 3 show pattern even when the display is on, including acting dead
# 4 only show pattern if the display is off, or if in acting dead
# 5 always show pattern, even if LED disabled
# 6 Like 0, but automatically disable after display on
# [2] Timeout in seconds before pattern is disabled, 0 for infinite
# [3] OnPeriod in milliseconds
# [4] OffPeriod in milliseconds
Expand All @@ -30,19 +32,19 @@ PatternPowerOn=9;3;0;0;0;bfbfbf
PatternPowerOff=10;3;0;0;0;ff0000
# ff0000 = red

PatternCommunication=30;0;0;500;1500;ff00ff
PatternCommunication=30;6;0;500;1500;ff00ff
# ff00ff = magenta

PatternCommunicationCall=25;0;0;500;1500;00ff00
PatternCommunicationCall=25;6;0;500;1500;00ff00
# 00ff00 = green

PatternCommunicationIM=30;0;0;500;1500;0000ff
PatternCommunicationIM=30;6;0;500;1500;0000ff
# 0000ff = blue

PatternCommunicationSMS=26;0;0;500;1500;0000ff
PatternCommunicationSMS=26;6;0;500;1500;0000ff
# 0000ff = blue

PatternCommunicationEmail=27;0;0;500;1500;ffff00
PatternCommunicationEmail=27;6;0;500;1500;ffff00
# ffff00 = yellow

PatternCommonNotification=30;1;0;500;1500;00ffff
Expand Down

0 comments on commit 96533e6

Please sign in to comment.