Merge branch 'cell-broadcast' into 'main'
theme: Add events for cellbroadcast See merge request Librem5/feedbackd!141
This commit is contained in:
+17
-6
@@ -29,6 +29,11 @@
|
||||
"type" : "Sound",
|
||||
"effect" : "camera-shutter"
|
||||
},
|
||||
{
|
||||
"event-name" : "message-new-cellbroadcast",
|
||||
"type" : "Sound",
|
||||
"effect" : "cellbroadcast"
|
||||
},
|
||||
{
|
||||
"event-name" : "message-new-email",
|
||||
"type" : "Sound",
|
||||
@@ -112,6 +117,12 @@
|
||||
"type" : "VibraRumble",
|
||||
"duration" : 12
|
||||
},
|
||||
{
|
||||
"event-name" : "message-new-cellbroadcast",
|
||||
"type" : "VibraPeriodic",
|
||||
"magnitude" : 10000,
|
||||
"duration" : 3000
|
||||
},
|
||||
{
|
||||
"event-name" : "message-new-email",
|
||||
"type" : "VibraRumble",
|
||||
@@ -168,12 +179,6 @@
|
||||
"color" : "red",
|
||||
"frequency" : 5000
|
||||
},
|
||||
{
|
||||
"event-name" : "phone-missed-call",
|
||||
"type" : "Led",
|
||||
"color" : "#00FFFF",
|
||||
"frequency" : 3000
|
||||
},
|
||||
{
|
||||
"event-name" : "message-missed-email",
|
||||
"type" : "Led",
|
||||
@@ -197,6 +202,12 @@
|
||||
"type" : "Led",
|
||||
"color" : "blue",
|
||||
"frequency" : 2000
|
||||
},
|
||||
{
|
||||
"event-name" : "phone-missed-call",
|
||||
"type" : "Led",
|
||||
"color" : "#00FFFF",
|
||||
"frequency" : 3000
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -110,6 +110,7 @@ These events are meant to be used by applications.
|
||||
- battery-caution: The event used when the battery is nearing exhaustion (below 40%, for example).
|
||||
- battery-full: The event used when the battery is fully loaded up.
|
||||
- device-added: The event used when a device has become available to the desktop, i.e. due to USB plugging.
|
||||
- message-new-cellbroadcast: The event used when a new cell broadcast message is received.
|
||||
- power-plug: The power cable has been plugged in.
|
||||
- power-unplug: The power cable has been unplugged.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user